While trying to use the Press It! bookmarklet with FireFox 0.9, I got the following error :
Deprecated method document.getSelection() called. Please use window.getSelection() instead.
So I fixed the bookmarklet to be :
...createRange().text:window.getSelection();}void(window.open('http://...
where it said
...createRange().text:document.getSelection();}void(window.open('http://...
(changed document.getSelection() to window.getSelection() )
To fix yours, if you are using FireFox 0.9, right click on you Press It bookmarklet in the BookMarks toolbar, click on “Properties” and edit the code as I did above in the “Location” field.
Many thanks !
Good eyes, its probably best to use the freshest code.
The bookmarklet still works correctly for me though. It merely throws a warning I viewable in the javacript console.
Thanks a lot!
I use Firefox 0.9, and I don’y face the problem. Is there something wring?
Depending on your settings in Firefox, it may be that you only get a warning in Tools -> Javascript Console.
Mine stopped working. Check the javascript console for warnings/errors to see the problem.
title="Get Firefox en français">
width="80" height="15" border="0" alt="Get Firefox en français"/>
Firefox.fr
Pingback: CaiLog :: about Life Science » Blog Archive » Fixing WordPress Press It for FireFox 0.9