Move userscripts into scripts/ subfolder

This commit is contained in:
2026-07-09 08:26:18 -04:00
parent b4f6cfeea7
commit 39d24d3ea9
12 changed files with 1 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
// ==UserScript==
// @name PWA Everything
// @author Evan Reichard
// @version 0.0.1
// @match *://*/*
// @grant none
// @run-at document-idle
// @noframes
// ==/UserScript==
let webManifest = {
"name": "",
"short_name": "",
"theme_color": "#ff0000",
"background_color": "#ff0000",
"display": "standalone"
};
let manifestElem = document.createElement('link');
manifestElem.setAttribute('rel', 'manifest');
manifestElem.setAttribute('href', 'data:application/manifest+json;base64,' + btoa(JSON.stringify(webManifest)));
document.head.prepend(manifestElem);