PWA Manifest Remover

Removes the manifest file from any site, which enables the "back" arrow in all Progressive Web Apps.

目前为 2020-09-16 提交的版本。查看 最新版本

// ==UserScript==
// @name         PWA Manifest Remover
// @namespace    https://github.com/jairjy
// @version      1.5
// @description  Removes the manifest file from any site, which enables the "back" arrow in all Progressive Web Apps.
// @author       JairJy
// @match        *://*/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    var newe = document.createElement("link");
    newe.rel = "manifest";
    newe.href = " ";
    newe.setAttribute("crossorigin", "use-credentials");
    document.getElementsByTagName("head")[0].appendChild(newe);
})();