淘宝详情页显示

禁止淘宝详情页跳转

As of 2020-07-21. See the latest version.

// ==UserScript==
// @name         淘宝详情页显示
// @namespace    https://github.com/microleft/sellerdescription
// @icon         https://www.taobao.com/favicon.ico
// @version      0.2
// @description  禁止淘宝详情页跳转
// @author       mic
// @match        https://rate.taobao.com/*
// @grant        none
// @run-at       document-body
// ==/UserScript==

(function () {
    Object.freeze(document.location);
    window.alert = console.log;
})();