Re: [jQuery] NEWS: JQuery being used for Bookmarklets
Patrick, I haven's used JS Shell, but digging around that site led me to their Bookmarklets page: http://www.squarefree.com/bookmarklets/ This is a godsend for development and testing! Many features are already present in the Web Dev toolbar, other bookmarklets, etc. But there's still a few gems here... Thanks for the lead. Patrick Hall wrote: Anyone else use Jesse Ruderman's js shell? http://www.squarefree.com/categories/javascript-shell/ I love that thing, use it every day. Using this script trick to inject jQuery into that bookmarklet would be sweet -- one click to a jquery-enabled shell that would let you dig around the structure of any site... -p@ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/NEWS%3A-JQuery-being-used-for-Bookmarklets-tf2379745.html#a6642068 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] NEWS: JQuery being used for Bookmarklets
Another mention of JQuery, this time in a bookmarklet. http://blogs.pathf.com/agileajax/2006/10/using_bookmarkl.html Rey... ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] NEWS: JQuery being used for Bookmarklets
On 10/3/06, Rey Bango [EMAIL PROTECTED] wrote: Another mention of JQuery, this time in a bookmarklet. http://blogs.pathf.com/agileajax/2006/10/using_bookmarkl.html That's cool. How does this get around the no opening content from other domains restriction? -pat -- ᗷɭoℊẚᗰսɳᑯѲ⁈⁈⁈ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] NEWS: JQuery being used for Bookmarklets
On Tue, 3 Oct 2006, Patrick Hall wrote: On 10/3/06, Rey Bango [EMAIL PROTECTED] wrote: Another mention of JQuery, this time in a bookmarklet. http://blogs.pathf.com/agileajax/2006/10/using_bookmarkl.html That's cool. How does this get around the no opening content from other domains restriction? This restriction does not currently apply to script tags. However, relying on this behavior may be risky - the Douglas Crockford quote on the following page comes to mind: http://www.mindsack.com/uxe/dynodes/ He's not kidding, however, when he says It cannot be easily fixed because the whole advertising infrastructure depends on the hole.. This includes Google. =) -- .. Dave Benjamin - Software Developer - ramenlabs.com .. AIM: ramenlabs / MSN: [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] NEWS: JQuery being used for Bookmarklets
However, relying on this behavior may be risky - the Douglas Crockford quote on the following page comes to mind: In fact, it is the complete opposite of 'risky' - it is very safe. It's not going to change anytime in the foreseeable future (considering that it would require every single browser manufacturer to, first deem it as being a security hole, then fix it independently of each other). IMO, I don't consider the loading of remote scripts to be a security hole at all - and that many browser-based security restrictions are way to tight as it is. Right now you can do much more damaging things with Iframes (see: What's currently possible for remote scripting in Dojo) than anything that can be accomplished with script tags. Look at Crockford's proposed JSONRequest object - it's borderline unusable due to all the security restrictions that are in place - forcing them to only work in the most controlled of situations. Of course, maybe I'm just bitter because I'm constantly trying to find ways of doing cross domain requests - and am being foiled at every step of the way ;-) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] NEWS: JQuery being used for Bookmarklets
Anyone else use Jesse Ruderman's js shell? http://www.squarefree.com/categories/javascript-shell/ I love that thing, use it every day. Using this script trick to inject jQuery into that bookmarklet would be sweet -- one click to a jquery-enabled shell that would let you dig around the structure of any site... -p@ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] NEWS: JQuery being used for Bookmarklets
That's cool. How does this get around the no opening content from other domains restriction? -pat I think that the bookmarklet is running locally so it gets around the domain restrictions. This is kind of like something I was considering. I used to write occasional HTA files to complete tasks locally. I wonder if JQuery could be used in HTA files to make them easier to write and more powerful. It probably could be. Add in Interface Elements for JQuery and some of the other great plugins and you could write an HTA application that really seemed like a normal desktop application. -Jason Levine http://www.jasons-toolbox.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/