glorfindel-SE-Userscripts/disable-time-travel-mode/disable-time-travel-mode.us...

30 lines
1.2 KiB
JavaScript
Raw Normal View History

2019-03-31 10:58:46 +00:00
// ==UserScript==
// @name Disable Stack Exchange Time Travel Mode
// @namespace https://github.com/Glorfindel83/
// @description Disables Time Travel Mode (April Fools 2019) on all Stack Exchange sites
// @author Glorfindel
// @updateURL https://raw.githubusercontent.com/Glorfindel83/SE-Userscripts/master/disable-time-travel-mode/disable-time-travel-mode.user.js
// @downloadURL https://raw.githubusercontent.com/Glorfindel83/SE-Userscripts/master/disable-time-travel-mode/disable-time-travel-mode.user.js
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
// @match *://*.askubuntu.com/*
// @match *://*.stackapps.com/*
// @exclude *://api.stackexchange.com/*
// @exclude *://blog.*.com/*
// @exclude *://chat.*.com/*
// @exclude *://data.stackexchange.com/*
// @exclude *://elections.stackexchange.com/*
// @exclude *://openid.stackexchange.com/*
// @exclude *://stackexchange.com/*
// @grant none
2019-03-31 17:09:01 +00:00
// @version 0.2
2019-03-31 10:58:46 +00:00
// ==/UserScript==
(function () {
"use strict";
$.cookie("tm2019", "1", { expires: 2, path: '/' });
2019-03-31 17:09:01 +00:00
$.cookie("tm2019d", "1", { expires: 2, path: '/' });
2019-03-31 10:58:46 +00:00
})()