Last active
March 9, 2018 15:06
-
-
Save umwelt/3f6d50c62d613dc2cb48f04f747a0ce4 to your computer and use it in GitHub Desktop.
css into chrometab
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
| var link = document.createElement('link'); | |
| link.href = chrome.extension.getURL('main.css'); | |
| link.rel = 'stylesheet'; | |
| document.documentElement.insertBefore(link); | |
| var customStyles = document.createElement('style'); | |
| customStyles.appendChild(document.createTextNode( | |
| 'body { .cur-main-header-container, .cur-page-footer, .cur-schedule-details-button { display: none; }}' | |
| )); | |
| document.documentElement.insertBefore(customStyles); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment