I want to make a script for Google pages like: chrome://apps/
But seems that Tampermonkey doesn't work on these pages. What should I do for the following script?
What I'm trying:
// ==UserScript==
// @name         Some Script
// @namespace    http://tampermonkey.net/
// @version      0
// @description  Trying to work in Google pages
// @author       You
// @match        *://*/*
// @grant        none
// ==/UserScript==
var myVar = 0;
if(window.location.href === "chrome://apps/"){ //check the URL
    if(myVar === 0){
        myVar++;
    alert("test");
    }
}