螢幕騰訊搜狐號桌面網頁右側推薦熱門精選油猴指令碼
阿新 • • 發佈:2022-05-19
目前寫得還比較繁瑣(而且可能需要重新整理一下網頁等幾秒),歡迎提出修改建議。
1.騰訊
// ==UserScript==
// @name 純淨騰訊新聞資訊頁面
// @namespace http://tampermonkey.net/
// @version 0.1
// @description
// @author d
// @match *://new.qq.com/*
// @grant none
// @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js
// ==/UserScript==
(function() { 'use strict';// Your code here... //已登陸 $('#RIGHT').remove() setTimeout(function(){ $('#RIGHT').remove() ; }, 1000); setTimeout(function(){ $('#RIGHT').remove() ; }, 3000); setTimeout(function(){ $('#RIGHT').remove() ; }, 5000); setTimeout(function(){ //頂部資訊遮蔽$('#RIGHT').remove() ; }, 8000); })();
2.搜狐
// ==UserScript==
// @name 純淨搜狐資訊頁面
// @namespace http://tampermonkey.net/
// @version 0.1
// @description
// @author d
// @match *://www.sohu.com/*
// @grant none
// @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js
// ==/UserScript==
'use strict'; // Your code here...//已登陸 $('#right-side-bar').remove() setTimeout(function(){ $('#right-side-bar').remove() ; }, 1000); setTimeout(function(){ $('#right-side-bar').remove() ; }, 3000); setTimeout(function(){ $('#right-side-bar').remove() ; }, 5000); setTimeout(function(){ //頂部資訊遮蔽 $('#right-side-bar').remove() ; }, 8000); })();