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 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