[jQuery] Re: jQuery injecting problem

2008-07-18 Thread Karl Swedberg
Thanks, guys, for bringing this to the attention of the discussion list. I'm at a loss as to how to fix it. If anyone else has a suggestion, please advise. Here is the bookmarklet script, after reformatting for legibility: (function() { var s = document.createElement('script'); s.setAtt

[jQuery] Re: jQuery injecting problem

2008-07-18 Thread Raphael Saunier
Hi Sam, I'm having the exact same problem when I try to "inject" jQuery using that bookmarklet on certain sites (e.g.: reddit.com, livejournal.com, etc...). Obviously, the cause of the problem is the JavaScript code already on the site. All of these sites have messed with the "Object.prototype" an