Bookmarklet no longer works

Ask for help about NoScript, no registration needed to post
LN

Bookmarklet no longer works

Post by LN »

Code: Select all

javascript:x=document.getElementsByName(%22message%22)[0];t=x.innerHTML;t=t.replace(/http:\/\/([^\.]+)\./ig,%20%22http://Cassowary-milk%20.%22);t=t.replace(/www\./ig,%20%22Cheese%20.%22);x.innerHTML=t;document.getElementById(%22disable_bbcode%22).checked=true;document.getElementById(%22disable_magic_url%22).checked=true;document.getElementById(%22lock_topic%22).checked=true;void%200;
The above is a bookmarklet I use over at MozillaZine. With today's update when I try to use it takes a long time to run and finally ups with "A script on this page may be busy ..." message. The Noscript icon grows an exclamation point until I cancel the script.

The bookmarklet replaces part of a spam url with the word Cassowary-milk and disables bbcode, urls and locks the topic. At the moment it all works except I have to wait a long time and get the message above.

This bookmarklet work well until today.

Ver 1.9.8.8

Example of a message that shows the problem.

Code: Select all

test
http://www.example.com
http://www.example.com
http://www.example.comhttp://www.example.comhttp://www.example.com
http://www.example.com
http://www.example.com
http://www.example.com
http://www.example.com
http://www.example.com
http://www.example.com
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
LN

Re: Bookmarklet no longer works

Post by LN »

Weird, the problem was somehow being caused by google.syndication.com. Block that and the bookmarklet it works without the script issue.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Guest

Re: Bookmarklet no longer works

Post by Guest »

err, googlesyndication.com
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Post Reply