Summary: | Location bar does not allow javascript, disabling blogging tools. | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | jeff pitman <symbiont> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lypanov |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
jeff pitman
2004-02-29 16:11:17 UTC
I have no idea what you're talking about. If a site uses javascript:, then it's executed with javascript as it should be. Of course it doesn't make sense to support this a "URI" as you name it. Because URIs follow strict restrictions To the submitter: use the minotools plugin in kdeaddons(?) for bookmarklets Take this: javascript:Q='';x=document;y=window;if(x.selection){Q=x.selection.createRange().text;}else if(y.getSelection){Q=y.getSelection();}else if(x.getSelection){Q=x.getSelection();}void(window.open('http://new.blogger.com/blog_this.pyra?t='+escape(Q)+'&u='+escape(location.href)+'&n='+escape(document.title),'bloggerForm','scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes')); And put it in Konqueror's location bar. Put it in Mozilla. You'll see what I'm talking about. A 3rd party tool such as minitools that you have to dig up because it's not in the default install of KDE isn't an effective method for providing this support. BTW, there are plenty of "other" URIs in konqueror that probably don't follow the said "restrictions". The one that comes to mind is "about:blank" or "about:konqueror". bookmarklets have been implemented. there won't be any support for javascript: in the location bar, since konqueror is more than a plain webbrowser. I've started a preliminary project exploring the issues. You can get a pre-alpha version that is operational here: http://konqlets.berlios.de/. If you would like to help further its goals, let me know. This project is a KIO that will allow for javascript: URIs. Thanks, Jeff while i love the fact that someone has actually taken this on :) i have to say, umm.. i'd advise not bothering with the kioslave route the security implications are pretty heavy. why not just make the minitools plugin better? i have no problem with putting it in kdebase and i don't that i'll get much resistance for this. most distros install kdeaddons in any case, or they should, lots of other very needed stuff is included in it. Alex oh and btw, the package is konqueror/bookmarks for the other bug, its just that the bug displays a bit strange and u can see the original posters idea of package therefore :) Alex |