Created
February 19, 2021 15:58
-
-
Save Eotones/1bcb4fcb09693b6fa01f68db8b7e7e18 to your computer and use it in GitHub Desktop.
meta-theme-color
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name meta-theme-color | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description add meta theme color | |
// @author Eotones | |
// @match https://term.ptt.cc/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let meta = document.createElement('meta'); | |
meta.name = 'theme-color'; | |
meta.setAttribute('content', '#333333'); | |
document.querySelector('head').appendChild(meta); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment