您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
我只想不注册不下载APP看虎扑
当前为
// ==UserScript== // @name 安静看虎扑 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 我只想不注册不下载APP看虎扑 // @author soundEgg // @require http://libs.baidu.com/jquery/2.0.0/jquery.min.js // @match *://m.hupu.com/* // ==/UserScript== (function() { 'use strict'; var window_url = window.location.href; var website_host = window.location.host; // Your code here... //移除APP打开 //$('.open-app-suspension').remove(); try { setTimeout(function() { //移除首次打开提示页面 $('.test-mask').remove(); //移除APP打开页面 $('.open-app-suspension').remove(); //移除首页top //$('.hp-m-header').remove(); //if(document.querySelector('.home-nav')){$('.home-nav')[0].style.cssText='margin-top:0;';}; //移除帖子中的顶端诱导app打开 $('.swiper-header').remove(); $('.detail-nav').remove(); //移除帖子内热门话题 $('.hot-topic-wrapper').remove(); //移除广告栏 }, 1000); } catch(e) { console.log('发生了异常:', e); }; })();