UnsafeWindow
From GreaseSpot Wiki
Syntax
unsafeWindow
Description
Userscripts can use this object to access document functions, variables and other elements in the document. unsafeWindow is a object wrapper for the entire document object.
Examples
unsafeWindow.document.title="Testing" unsafeWindow.TestVarCreatedByDocument="Testing" unsafeWindow.document.TestFunction("Test")