您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes layers from links clicked/opened in Waze
- // ==UserScript==
- // @name WME Layers Link Remover
- // @description Removes layers from links clicked/opened in Waze
- // @namespace vaindil
- // @version 1.0
- // @grant none
- // @include https://www.waze.com/editor/*&s=*
- // @include https://www.waze.com/editor/?s=*
- // @include https://www.waze.com/*/editor*&s=*
- // @include https://www.waze.com/*/editor/?s=*
- // @include https://beta.waze.com/*&s=*
- // @include https://beta.waze.com/?s=*
- // @include https://beta.waze.com/*/*&s=*
- // @include https://beta.waze.com/*/?s=*
- // @exclude https://www.waze.com/user/*
- // @exclude https://www.waze.com/*/user/*
- // @author vaindil
- // @run-at document-start
- // ==/UserScript==
- window.onload = function() {
- window.stop();
- document.write('<style type="text/undefined">');
- var str = window.location.href.replace(/\?s=\d*&/, '?');
- window.location.href = str.replace(/&s=\d*/g, '');
- };