Greasemonkey Test Page

reload this page  |  test.user.js

Unless this text gets overwritten, you should install test.user.js first and reload the page.

This page tests various aspects of creating Greasemonkey scripts for multiple browsers.

unsafeWindow
Greasemonkey on Firefox uses the unsafeWindow variable to give Greasemonkey scripts access to the main page in a way that works across callbacks. I found that I needed to use this to set onbeforeunload and onclick handlers. Here's the test:
GM_setValue, GM_getValue
detecting values...