您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds &pp= at the end of links on carigold.com
当前为
// ==UserScript== // @name CG Modify Links // @version 1.1 // @namespace https://gf.qytechs.cn/en/users/8534-shellc55 // @author ShellC55 // @description Adds &pp= at the end of links on carigold.com // @include *://www.carigold.com/* // @include *://carigold.com/* // @run-at document-start // ==/UserScript== /************************************************ Source: http://userscripts-mirror.org/posts5676.html?kind=forum&page=1955 This version does not rewrite the links - it changes the address in the address bar. wont work if view from feed, i.e. read to last post 2018-11-15 fix url ************************************************/ // \d+ means 1 or more digits - in other words - numbers // location.href is the address in the address bar // += means stick it on the end if (/^https?:\/\/www\.carigold\.com\/portal\/forums\/showthread\.php\?t=\d+/.test(location.href) && (!(/&pp=40/.test(location.href)))) { location.href += "&pp=40"; } // num of thread on 1 page // normal 20 thread |pp=60 will show 6- threads in 1 page if (/^https:\/\/www\.carigold\.com\/portal\/forums\/forumdisplay\.php\?f=\d+/.test(location.href) && (!(/&pp=60/.test(location.href)))) { location.href += "&pp=60"; } //01-04-16 add daysprune if (/^https:\/\/www\.carigold\.com\/portal\/forums\/forumdisplay\.php\?s=&daysprune=\d+&f=\d+/.test(location.href) && (!(/&pp=60/.test(location.href)))) { location.href += "&pp=60"; }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址