Skip to content

Instantly share code, notes, and snippets.

@rtxanson
Created December 14, 2018 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtxanson/1ecbcbc2e332813c194f7c2d74012fe9 to your computer and use it in GitHub Desktop.
Save rtxanson/1ecbcbc2e332813c194f7c2d74012fe9 to your computer and use it in GitHub Desktop.
unfuck.pipress.js
// ==UserScript==
// @name Unf*ck PiPress
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Fix the content scrambling they enable when you use an adblocker. Sorry, can't unscramble Soucheray.
// @author Me
// @match https://www.twincities.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.getElementsByClassName('body-copy')[0].addEventListener('DOMSubtreeModified', function () {
if (document.getElementsByClassName('blurry-text').length > -1) {
CnnXt.Action.IntegrateProduct();
}
}, false);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment