bookmarklet javascript error
Brought to you by:
cweiske
When trying to bookmark the URL http://www.ocr4linux.com/en:pricing with the bookmarklet in opera, I get:
[17.12.2013 20:23:43] JavaScript - http://www.ocr4linux.com/en:pricing
Javascript URL thread: "javascript:x=document;a=encodeURIComponent(x.location.href);t=encodeURIComponent(x.title);d=encodeU..."
Uncaught exception: TypeError: Cannot convert 'textArea' to object
Error thrown at line 24, column 80983 in getSelection(textArea) in http://www.ocr4linux.com/lib/exe/js.php?tseed=1386861101:
sel.start=textArea.value.length;
called from line 1, column 79 in javascript:x=document;a=encodeURIComponent(x.location.href);t=encodeURIComponent(x.title);d=encodeURIComponent(window.getSelection());open('http://bookmarks.home.cweiske.de/bookmarks.php/cweiske?action=add&popup=1&address='+a+'&title='+t+'&description='+d,'bookmarks','modal=1,status=0,scrollbars=1,toolbar=0,resizable=1,width=790,height=465,left='+(screen.width-790)/2+',top='+(screen.height-425)/2);void 0;:
d=encodeURIComponent(window.getSelection());