您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide the smartphone app popup when opening the reddit mobile site.
// ==UserScript== // @name Don't recommend a smartphone reddit app // @match https://www.reddit.com/* // @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js // @description Hide the smartphone app popup when opening the reddit mobile site. // @version 0.2 // @grant GM_setValue // @grant GM_getValue // @namespace https://greasyfork.org/users/83168 // ==/UserScript== $(function(){ setInterval(function(){ $('.XPromoPopupRpl__actionButton').click(); $('.XPromoBottomBar__closeButton').click(); },50); $('.TopButton').hide(); })(jQuery);