It would be nice to have the option to set a flag in a script to prevent the GG ui from being shown while it is searching, but this wont happen, Enyby is moving GG in the exact opposite direction and making it more difficult for coders to secure their scripts from theft and "plagiarism", in GG 73.9 he has disabled access to the GG preferences file/directory which has broken numerous scripts that have logging detection functions built into them.
I personally feel that a scary warning message like the online access one would have been a better way to go, that way if the user trusts the coder they can allow the script to access their preferences file and run the script or they can press no and just not use the script.