您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Append ?share=1 automatically so that Quora won't annoy with blockers
// ==UserScript== // @name Quora Unblocker // @version 12jan2021-stable // @description Append ?share=1 automatically so that Quora won't annoy with blockers // @author OrderedChaos // @match *://*.quora.com/* // @run-at document-start // @grant none // @namespace https://greasyfork.org/users/726625 // ==/UserScript== var oldUrlPath = window.location.pathname; var oldSearch = window.location.search; // Test that "?share=1" does not exist in URL if ( ! /\?share=1/.test (oldSearch) ) { var newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search + "?share=1" + window.location.hash; // replace() puts the good page in the history window.location.replace (newURL); }