Fixing WordPress “Press It” for FireFox 0.9

June 19th, 2004 § 7

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.

Tagged: ,

§ 7 Responses to “Fixing WordPress “Press It” for FireFox 0.9”

What's this?

You are currently reading Fixing WordPress “Press It” for FireFox 0.9 at Carthik Sharma.

meta