Remove Url SEO Parameters

Remove Redundant Url SEO Parameters

目前为 2019-07-22 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Remove Url SEO Parameters
  3. // @namespace https://github.com/livinginpurple
  4. // @version 2019.07.22.21
  5. // @description Remove Redundant Url SEO Parameters
  6. // @author livinginpurple
  7. // @license WTFPL
  8. // @match http://*.pixnet.net/*
  9. // @match https://*.pixnet.net/*
  10. // @match http://blog.xuite.net/*
  11. // @match https://blog.xuite.net/*
  12. // @match http://*.techbang.com/posts/*
  13. // @match https://*.techbang.com/posts/*
  14. // @match https://*.dcard.tw/*
  15. // @run-at document-start
  16. // @grant none
  17. // ==/UserScript==
  18.  
  19. (function() {
  20. 'use strict';
  21. console.log(GM_info.script.name + " is loading.");
  22. // 修改網址,且不留下歷史紀錄
  23. window.history.replaceState({},
  24. window.title,
  25. window.location.href.split('-')[0]
  26. );
  27. console.log(GM_info.script.name + " is running.");
  28. })(document);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址