Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Tuesday, May 15, 2012

Greasemonkey script commands

Suppose you have registered a script command which runs a function in your script. You load a page on which your script is included, and then you can use the menu option to run that function as many times as you like.

But Firefox won't load a fresh copy of your script if you change it in between uses of the menu option, even if you're using one of the ways of editing the script from the browser (eg right-clicking the script name on the Greasemonkey menu).

It seems it only loads the script when you reload the page it's included on.

Followers

Blog Archive