Fixing WordPress “Press It” for FireFox 0.9

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.

Other Articles on this Subject:


    Fatal error: Call to undefined function related_posts() in /home/carthik/public_html/wp-content/themes/east_indian/single.php on line 31