-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
91 additions
and
40 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
*.pptx | ||
*.zip | ||
\.directory |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
// initial scroll to trigger the event once | ||
window.onload = function() { window.scrollBy(0,1); } | ||
|
||
|
||
// TODO: create a settings page | ||
// TODO: create a page action (for launching the settings page) | ||
// TODO: remove or hide Youtube embededs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
if (typeof browser == "undefined") { | ||
var browser = chrome; | ||
} | ||
|
||
function activateComponent(callback, observerConfig={ childList: true, subtree: true }, registeringEvent="DOMContentLoaded") { | ||
document.addEventListener(registeringEvent, function() { | ||
// Create and attach the observer | ||
let body_observer = new MutationObserver(callback); | ||
body_observer.observe(document.body, observerConfig); | ||
}); | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
#theme-switch-wrapper { | ||
margin-right: 10px; | ||
.avatar-container { | ||
border-radius: 2px !important; | ||
} | ||
#theme-switch > img { | ||
height: 30px; | ||
width: 30px; | ||
.popup-menu ul { | ||
background: rgb(35, 35, 35) !important; | ||
border: 1px solid white; | ||
} | ||
#jsid-header-user-menu-avatar > a { | ||
border-radius: 2px; | ||
.popup-menu ul li a { | ||
color: white !important; | ||
} | ||
.popup-menu.postpage-share { | ||
top: 43px; left: 164px; | ||
.popup-menu a:hover { | ||
background: black !important; | ||
} | ||
.popup-menu.postpage-share { | ||
top: 43px; | ||
left: 164px; | ||
} | ||
/* TODO: rename to ui-tweaks.css */ |