glorfindel-SE-Userscripts/dismiss-banner/dismiss-banner.user.js
2017-12-18 22:52:22 +01:00

22 lines
696 B
JavaScript

// ==UserScript==
// @name Dismiss Net Neutrality Banner
// @namespace https://github.com/Glorfindel83/
// @description Automatically dismisses the Net Neutrality banner whenever you visit a (new) site.
// @author Glorfindel
// @version 0.1
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
// @match *://*.askubuntu.com/*
// @match *://*.stackapps.com/*
// @match *://*.mathoverflow.net/*
// @grant none
// ==/UserScript==
(function () {
"use strict";
setTimeout(function () {
$("#net-neutrality-dismiss").click();
}, 100);
})();