// ==UserScript== // @name 网页便利店 // @namespace http://tampermonkey.net/ // @version 0.2 // @description 一些网页上的简单处理,使其更适合浏览 // @author Max Sky // @match *://blog.csdn.net/*/article/details/* // @match *://*.baidu.com/* // @license MIT // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; var domain = document.domain; if (domain.indexOf('baidu.com') > -1) { $('#content_right').remove(); } if (domain.indexOf('csdn.net') > -1) { var article_content = $('#article_content'); // 移除限高 article_content.removeAttr('style'); article_content.next().remove(); } })();