Greasemonkey 0.9.20 Beta Avaliable – Fix setTimeOut Problem In User Scripts

Greasemonkey has release the 0.9.20 beta version that fix the timer problem in version 0.9.19. I personally tested out script, it can run without problem using this version. Below I the link to download the latest version of Greasemonkey. Please note that it is a beta version thus you need to manually down it as Firefox won’t automatically update it for you.

Greasemonkey for Firefox: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/#beta-channel

 

Happy Hunting and Happy playing Diablo 3 if you bought one.

 

by Ooi Keng Siang via Ooiks’s Blog

setTimeOut Did Not Function Correctly in Greasemonkey 0.9.19 / Firefox 12

 [Updated] Greasemonkey version 0.9.20 beta released, check out my latest post

Today I got lot of complains from players whom using MouseHunt AutoBot or Fish Wrangler AutoBot that the script stop working in Firefox. The problem they are facing is the timer only manage to run half way (maybe 2 – 3 seconds) then it stop. While the other browsers can run the script without any problem at all. This is because Greasemonkey just push out their latest update 0.9.19 to your Firefox browser without you knowing and this version screw up the setTimeOut javascript function which is used to run the timer in the script. In version 0.9.19, they claim to have a better version of setTimeOut function wrapper, but in fact it screw thing up. Maybe you wondering why the in game timer run without any problem but that is because they are using the actual javascript engine offer in Firefox and not though Greasemonkey like user script.

What you can do then? For the mean time, use other browsers like Opera or Chrome until there is another update by Greasemonkey that fix this problem. Or you still insist want to use Firefox? Then you will need to downgrade your Greasemonkey version. How to do it? First, uninstall your Greasemonkey add-on in Firefox then restart your Firefox. Then go to install version 0.9.18 instead. you might need to reinstall the user script too. Please note that your friendly Firefox will try to help you update the Greasemonkey to the latest version if you restart Firefox.

Let’s keep our fingers cross that Greasemonkey release an update to fix this mess. I will update you all when a better solution found.

by Ooi Keng Siang via Ooiks’s Blog

Install / Uninstall User Script on Firefox

I decided to write a simple guide on how to install and uninstall user script on Firefox after many users keep on asking the same question.

How to install user script on Firefox:
Step 1: You need to make sure you have Greasemonkey extensions installed on Firefox.

Step 2: Download the user script you want from website such as http://userscripts.org

  • If you want to download script from userscripts.org, just click on the Install button.
  • If you download script from other website, you might want to save it your desktop and drag the script to firefox to install.

Step 3: Click on the Install when Greasemonkey prompt you to confirm install the script to Firefox.

Step 4: Done! Continue to read if you want to know how to edit the script.

Step 5: Go to Menu on top of Firefox then Tools > Greasemonkey > Manage User Scripts…

Step 6: Select the script you want to edit and click Edit button on the bottom of the dialog.

  • If this is the first time you edit user script, you might prompt by Windows asking which software use to open the script. You should use notepad to edit the script (C:Windowsnotepad.exe).

Step 7: Edit the script according your need and save it. Reload any page you want to apply the script on your Firefox for immediate effect apply.

Step 8: Done edit!

  • If you want to edit the script in future, just repeat the Step 5 until Step 8.

 

How to uninstall user script on Firefox:

Step 1: Go to Menu on top of Firefox then Tools > Greasemonkey > Manage User Scripts…

Step 2: Select the script you want to edit and click Uninstall button on the bottom of the dialog.

Step 3: Done!

Hope this post can help to save some trouble facing by the new users.

by Ooi Keng Siang via Ooiks’s Blog

Easy Way To Add User Script in Firefox

Ever downloaded a user script from website other than userscript.org and figuring how to install it into Firefox? Ever write your own user script and have problem install it into Firefox?

I do have those problem when I first installed Greasemonkey and download some user script to try. The Greasemoneky Installation dialog usually won’t pop up if I download any user script from website other than userscript.org. Every time I drag and drop a user script file into Firefox, the Greasemonkey will definably pop up a install button on top of the page, but the button never work out for me.

After spending some time playing with user script, I finally discover a better way of install a user script into Firefox instead of click on the New User Script menu button and paste all code into the new created script. It is nothing new or special, but the menu button is hidden instead of disable when no user script is open in Firefox. This cause many users include me did not realize the existent of the button at all.

To install a user script after download and save at local disk, just drag and drop the file into Firefox, then go to Tools > Greasemoneky > Install User Script. If you did not found the Install User Script button, this is because you are currently not viewing the tab that contain the user script file open in Firefox.

After click on the Install User Script button, the Greasemonkey Installation dialog will pop up. Click on Install button after the countdown end and the user script will be installed into Firefox.

I’m very curious why the button is hidden instead of disable. It just doesn’t make sense to me. The install button pop up on top of the page every time user drop a user script into Firefox never work, a bug? Anyway, I never know the answer unless I go and ask the developer, which I’m not going to do.

by Ooi Keng Siang