您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Strips the querystring from link URLs on websites. Originally written as a quick fix for expired Amazon Web Services Unlimited FTP Server (S3 AWS) links when their token had expired. Client would regularly post expired links and I was having to copy + paste each link and strip the querystring manually.
// ==UserScript== // @name Strip querystrings from link URLs // @namespace https://pinebeecreative.com/ // @version 0.1 // @description Strips the querystring from link URLs on websites. Originally written as a quick fix for expired Amazon Web Services Unlimited FTP Server (S3 AWS) links when their token had expired. Client would regularly post expired links and I was having to copy + paste each link and strip the querystring manually. // @author Pinebee Creative // @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js // @match *://*/* // @grant none // ==/UserScript== $(document).ready(function() { 'use strict'; $("a").click(function(event) { var href = $(this).attr('href').split("?")[0]; $(this).attr("href", href); }); })();