您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
打开前面有字的抖音分享地址,直接跳转链接。
// ==UserScript== // @name 直接打开抖音分享地址 // @namespace http://domain.com/directory // @version 0.1 // @description 打开前面有字的抖音分享地址,直接跳转链接。 // @author 幸福的赢得 // @run-at document-start // @match *://cn.bing.com/search?* // @match *://m.baidu.com/* // @grant none // ==/UserScript== if (/v\.douyin\.com/.test(location.href)) { var plainPath = decodeURIComponent(location.href) plainPath = plainPath.replace(/^.*?v\.douyin\.com\// , ''); plainPath = plainPath.replace(/\+.*/ , ''); plainPath = "https://v.douyin.com/" + plainPath location.replace(plainPath); }