[Greasemonkey] Switching to Webpage Context
Vincent Chute
vincent_chute at hotmail.com
Mon Jan 9 16:24:14 EST 2006
Jeremy Dunck wrote:
>Vincent Chute wrote:
>>I tried using unsafeWindow but I didn't manage to get it working
>>successfully
>
>Can you share the code that's not working?
How to be an incredible idiot in 6 easy steps:
1) Spend 3 days trying to convert a userscript to 0.6.4.
2) In frustration try adding unsafeWindow to pretty much every variable and
function you use or create.
3) Sign up to a mailing list just to ask for advice.
4) When converting tabs to spaces (for posting) notice that you misspelt
unsafewindow once.
5) Discover it was the only reference to unsafeWindow needed to make the
script work.
6) Bang head against desk repeatedly.
I am going to have another look (or 2) over my other script that isn't
working before I post it.
More information about the Greasemonkey
mailing list