Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- *
- * Spiegel Online Plus – Obfuscation Removal 0.1
- *
- */
- var wrapper = document.getElementsByClassName('obfuscated-content')[0];
- var ps = wrapper.getElementsByClassName('obfuscated')
- // remove blur, default opacity user interaction
- wrapper.parentElement.style='-webkit-filter:none !important; opacity: 1 !important; pointer-events: auto !important; user-select: auto !important'
- // hide overlay
- wrapper.parentElement.nextSibling.style='display:none'
- var foo = function (p) {
- var txt = p.textContent;
- var newTxt = '';
- for (var i = 0; i < txt.length; i++) {
- if (txt.charCodeAt(i) == 32) {
- newTxt += ' ';
- continue;
- }
- String.fromCharCode(txt.charCodeAt(i) - 1);
- newTxt += String.fromCharCode(txt.charCodeAt(i) - 1);
- }
- p.textContent = newTxt;
- };
- for (var i = 0; i < ps.length; i++) {
- foo(ps[i])
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement