Bug 57410 - bookmarklet with javascript is interpreted as an url
Summary: bookmarklet with javascript is interpreted as an url
Status: RESOLVED DUPLICATE of bug 30302
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 10:33 UTC by Tobias Buchloh
Modified: 2003-04-18 15:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***