Last active
March 9, 2018 15:06
-
-
Save umwelt/3f6d50c62d613dc2cb48f04f747a0ce4 to your computer and use it in GitHub Desktop.
Revisions
-
umwelt revised this gist
Mar 9, 2018 . No changes.There are no files selected for viewing
-
umwelt revised this gist
Mar 9, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,6 @@ 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); -
umwelt created this gist
Mar 9, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ 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 { background-color: ' + localStorage.getItem('background-color') + '}' )); document.documentElement.insertBefore(customStyles);