Bug 57410

Summary: bookmarklet with javascript is interpreted as an url
Product: [Applications] konqueror Reporter: Tobias Buchloh <t.buchloh>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tobias Buchloh 2003-04-18 10:33:37 UTC
Version:           unknown (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.19

I know, the problem should be solved since 2 years...

but i have the problem, that a javascript:... bookmarklet is interpreted as an url and not as javascript as it should be.

when i start 

javascript:document.location = 'http://localhost/apb/add_bookmark.php?form_title=' + escape(document.title) + '&form_url=' + escape(document.location)

which works fine in mozilla 1.3, only my preferred search engine 'google' *gg* will be queried.

<google>
Your search - javascript:document.location = 'http://localhost/apb/add_bookmark.php?form_title=' + escape(document.title) + '&form_url=' + escape(document.location); - did not match any documents. 
</google>

JavaScript is activated globally.
Comment 1 Maksim Orlovich 2003-04-18 15:31:34 UTC
Bookmarklets support, implemented by Alex Kellett, will be in 3.2 

*** This bug has been marked as a duplicate of 30302 ***