Skip to content

Instantly share code, notes, and snippets.

jeremyredhead

Block or report user

Report or block jeremyredhead

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View README.md
@jeremyredhead
jeremyredhead / userChrome.css
Created Oct 31, 2018
My personal userChrome.css
View userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Hide disabled page actions:
from <https://www.reddit.com/r/firefox/comments/7usqtm/about_extensions_in_address_bar/dtog5qh/> */
#pageActionPanelMainView > .panel-subview-body > toolbarbutton[disabled="true"] {
display: none !important;
}
/* Hide extraneous page action toolbar separators */
#pageAction-panel-builtInSeparator ~ [disabled="true"] ~ toolbarseparator {
@jeremyredhead
jeremyredhead / euph-osd.xml
Created Oct 30, 2018
Euphoria OpenSearch Room Shortcut
View euph-osd.xml
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Euphoria</ShortName>
<Description>Visit Euphoria Rooms</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="32" height="32" type="image/png">https://euphoria.io/static/favicon.png</Image>
<Url type="text/html" method="get" template="https://euphoria.io/room/{searchTerms}/" />
<moz:SearchForm>https://euphoria.io/room/list/</moz:SearchForm>
</OpenSearchDescription>
@jeremyredhead
jeremyredhead / lazy.js
Created Oct 3, 2017
Lazy? the JS "Library"
View lazy.js
/* Lazy?, the JS "Library" is (c) Jeremy Wilhelm, licensed MIT */
window.doc = document
window.head = document.head
window.body = document.body
window.$ = document.querySelector.bind(document)
window.$$ = document.querySelectorAll.bind(document)
Element.prototype.byId = Element.prototype.getElementById
Element.prototype.byClass = Element.prototype.getElementsByClassName
You can’t perform that action at this time.