FB - Ghost Trappers Smart Autohunt V2

By Jaryl Last update Jan 22, 2012 — Installed 113,650 times.

Auto GM Close won't work on Firefox (even after 18/10/2010)

in
Subscribe to Auto GM Close won't work on Firefox (even after 18/10/2010) 12 posts, 5 voices



GT-freak User
FirefoxWindows

Can anyone verify that Auto GM Close Window won't work on Firefox?
yes, i did set the about:config
dom.allow_scripts_to_close_windows default boolean true
does anyone hv any fix for this? help much appreciated, tq!

 
thehuntxact User
ChromeWindows

try this http://userscripts.org/topics/61633

 
GT-freak User
FirefoxWindows

how to disable autopowerhunt?

 
GT-freak User
FirefoxWindows

@thehuntxact it doesn't autoclose GM windows tab

 
thehuntxact User
ChromeWindows

well it works for chrome

 
GT-freak User
FirefoxWindows

oh ok... sry i'm a firefox user as i hv several accounts

 
GT-freak User
FirefoxWindows

does anyone have the fix for auto GMclose for firefox? pls and tq for your kind help

 
GT-freak User
FirefoxWindows

hmmm... still can't autoclose after most recent update (18 Oct)

 
thehuntxact User
ChromeWindows

I tested it out on my firefox and it worked perfectly though, try reinstalling your firefox?

be patient and it'll auto close =)

 
SUPER_KEG Scriptwright
FirefoxX11

Change autoclose-code to:

else if(GM_getValue("GTSAH.GMClose", true) && document.location != "http://www.ghost-trappers.com/fb/ghost_monster.php" && document.location.toString().indexOf("ghost_monster.php?") != -1 && document.location.toString().indexOf("test=") != -1 && document.getElementsByClassName("gmButton gmActiveAssistButton")[0] == null)

{

TitleOver = "Assisted Ghost Monster, closing tab in " + GM_getValue("GTSAH.GMCloseSecs", 6) + " seconds."

setTimeout(function() {top.window.close();} , GM_getValue("GTSAH.GMCloseSecs", 6) * 1000);

}

 
Alistair Ryan User
SafariMacintosh

Sorry but I don't even get this GM auto close thing. What exactly does this do?

 
Findy Efendy User
FirefoxWindows

By default, Firefox doesn't allow a window to be closed by javascript.
For this script to work that functionality must be enabled.
To change the default setting:

Type "about:config" in your firefox address bar and enter.
Press "I'll be careful, I promise" button to continue.
On the filter box, search "dom.allow_scripts_to_close_windows".
Set its value to "true" by right-clicking and then select 'Toggle'.