Skip to content

Instantly share code, notes, and snippets.

@ushironoko
Last active November 26, 2021 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ushironoko/dffbca0a9dac48656c44ddd162144f71 to your computer and use it in GitHub Desktop.
Save ushironoko/dffbca0a9dac48656c44ddd162144f71 to your computer and use it in GitHub Desktop.
jobcan dark mode
/*
* Paste in "SunippetAutoRunner" Extention and enter "jobcan.jp" as the hostname
* https://chrome.google.com/webstore/detail/scriptautorunner/gpgjofmpmjjopcogjgdldidobhmjmdbm
*/
document.querySelector('html').style.transition = 'all .6s'
document.querySelector('main').style.display = 'flex';
document.querySelector('main').style.justifyContent = 'center';
document.querySelector('html').style.webkitFilter = 'invert(1) hue-rotate(180deg)'
const result = document.querySelector('#search-result')
const list = result.getElementsByTagName('div')
const rowTag = list[0]
result.appendChild(rowTag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment