旧版B站首页搜索页视频播放页

需要换成旧版的时候运行一次后刷新即可

// ==UserScript==
// @name         旧版B站首页搜索页视频播放页
// @namespace    http://tampermonkey.net/
// @version      1.0.2
// @description  需要换成旧版的时候运行一次后刷新即可
// @author       aotmd
// @match        https://www.bilibili.com/*
// @noframes
// @license MIT
// @grant        none
// ==/UserScript==
var now = new Date();
var time = now.getTime();
time += 365 * 24 * 60 * 60 * 1000; // 一年的毫秒数
now.setTime(time);

/*搜索页老样式:*/
document.cookie = "nostalgia_conf=2; expires=" + now.toUTCString() + "; path=/; domain=.bilibili.com";
/*搜索页老样式:*/
document.cookie = "i-wanna-go-feeds=-1; expires=" + now.toUTCString() + "; path=/; domain=.bilibili.com;";
/*首页老样式:*/
document.cookie = "i-wanna-go-back=2; expires=" + now.toUTCString() + "; path=/; domain=.bilibili.com;";
/*视频老样式:*/
document.cookie = "go_old_video=1; expires=" + now.toUTCString() + "; path=/; domain=.bilibili.com";
/*番剧页老样式*/
document.cookie = "go-old-ogv-video=1; expires=" + now.toUTCString() + "; path=/; domain=.bilibili.com";
/*未知*/
document.cookie = "rpdid=|(k|mllmRJJR0J'uY)lkRJRlY; expires=" + now.toUTCString() + "; path=/; domain=.bilibili.com";