Skip to content

Instantly share code, notes, and snippets.

@andigena
Created January 28, 2016 19:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andigena/b5111d714f930d2619be to your computer and use it in GitHub Desktop.
Save andigena/b5111d714f930d2619be to your computer and use it in GitHub Desktop.
super advanced playok.com adblock nag removal
// ==UserScript==
// @name playok anti-anti-adblock
// @namespace http://tukan.farm
// @version 0.001 alpha
// @description removes that 30 seconds nag
// @author _2can
// @match http://*.playok.com/*/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
'use strict';
var element = document.getElementById('abp');
if (element)
element.parentNode.removeChild(element);
@popey456963
Copy link

Updated for HTTPS:

// ==UserScript==
// @name         playok anti-anti-adblock
// @namespace    http://tukan.farm
// @version      0.001 alpha
// @description  removes that 30 seconds nag
// @author       _2can
// @match        https://*.playok.com/*/*
// @grant        none
// ==/UserScript==
/* jshint -W097 */

(function() {
    'use strict';

    var element = document.getElementById('abp');
    if (element) {
        element.parentNode.removeChild(element);
    }
})();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment