Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name MTB News Umlauterer
- // @namespace
- // @include http://www.mtb-news.de/forum/t/*
- // @version 1
- // @grant none
- // ==/UserScript==
- var string = document.body.innerHTML;
- string = string.replace(/ü/g, 'ü');
- string = string.replace(/ä/g, 'ä');
- string = string.replace(/ö/g, 'ö');
- string = string.replace(/â¢/g, '-');
- string = string.replace(/â¬/g, '€');
- string = string.replace(/Ã/g, 'ß');
- string = string.replace(/â/g, '"');
- string = string.replace(/â/g, '"');
- string = string.replace(/Ã/g, 'Ü');
- string = string.replace(/Ã/g, 'Ö');
- // Also fuck ad.zanox.com!
- string = string.replace(/http:\/\/ad\.zanox\.com\/.+ULP=\[\[(.+)\]\]/g, '$1');
- // Gesendet von Fickdich mit Tapawichs
- string = string.replace(/(\<br\>\n)*Gesendet .+ Tapatalk.*/gi, '');
- string = string.replace(/(\<br\>\n)*Via Tapatalk.*/gi, '');
- document.body.innerHTML = string;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement