您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
將手機版 URL 重新導向到桌面版本。iThome 官網不做我只好自己寫了。
// ==UserScript== // @name IThome 手機版文章重新導向 // @namespace https://ithelp.ithome.com.tw/ // @version 1.0 // @description 將手機版 URL 重新導向到桌面版本。iThome 官網不做我只好自己寫了。 // @author Elvis Mao // @match https://ithelp.ithome.com.tw/m/articles/* // @run-at document-start // @grant none // ==/UserScript== (function() { 'use strict'; if (window.location.pathname.startsWith('/m/articles/')) { let newUrl = window.location.href.replace('/m/articles/', '/articles/'); window.location.replace(newUrl); } })();