Last active
July 4, 2020 08:05
-
-
Save marktaiwan/bd0a770065f89714b665fb9851c3e226 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Link Color Changer | |
// @version 1.0.0 | |
// @author Marker | |
// @license WTFPL | |
// @namespace https://github.com/marktaiwan/ | |
// @match https://*.fimfiction.net/* | |
// @noframes | |
// ==/UserScript== | |
(function () { | |
'user strict'; | |
const CSS = ` | |
a { | |
color: green; | |
} | |
.story_container .chapter-read-icon.chapter-read i { | |
color: green; | |
} | |
`; | |
const styleElement = document.createElement('style'); | |
styleElement.setAttribute('type', 'text/css'); | |
styleElement.innerHTML = CSS; | |
document.body.insertAdjacentElement('afterend', styleElement); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment