glorfindel-SE-Userscripts/dismiss-banner/dismiss-banner.user.js

23 lines
696 B
JavaScript
Raw Normal View History

2017-07-12 11:57:08 +00:00
// ==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";
2017-12-18 21:52:22 +00:00
setTimeout(function () {
2017-07-12 11:57:08 +00:00
$("#net-neutrality-dismiss").click();
}, 100);
2017-12-18 21:52:22 +00:00
})();