// ==UserScript== // @name Remove Url SEO Parameters // @namespace https://github.com/livinginpurple // @version 2019.11.28.22 // @description Remove Redundant Url SEO Parameters // @author livinginpurple // @match http://*.pixnet.net/* // @match https://*.pixnet.net/* // @match http://blog.xuite.net/* // @match https://blog.xuite.net/* // @match http://*.techbang.com/posts/* // @match https://*.techbang.com/posts/* // @match https://*.dcard.tw/* // @match https://*.inside.com.tw/* // @match https://*.logdown.com/* // @run-at document-start // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; console.log(GM_info.script.name + " is loading."); // 修改網址,且不留下歷史紀錄 window.history.replaceState({}, window.title, window.location.href.split('-')[0] ); console.log(GM_info.script.name + " is running."); })(document);