mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-20 17:15:41 +02:00
firefox: disable userContent
Currently, only used for Twitter and it breaks the back button.
This commit is contained in:
parent
25f645325c
commit
a7116145b7
2 changed files with 2 additions and 19 deletions
|
@ -1,18 +1 @@
|
|||
/* To be symlinked in Firefox profile as chrome/userContent.css */
|
||||
|
||||
@-moz-document domain(twitter.com) {
|
||||
html {
|
||||
scroll-snap-type: y proximity !important;
|
||||
}
|
||||
|
||||
/* Tweets in the timeline are <article> elements */
|
||||
article {
|
||||
scroll-snap-align: start !important;
|
||||
}
|
||||
|
||||
/* Un-stick the sticky header and make it “snappable” as well */
|
||||
[aria-label="Home timeline"] > :first-child {
|
||||
position: static !important;
|
||||
scroll-snap-align: start !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,5 +81,5 @@ user_pref("browser.safebrowsing.malware.enabled", false);
|
|||
// Don't trim URLs
|
||||
user_pref("browser.urlbar.trimURLs", false);
|
||||
|
||||
// Enable userContent.css
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||
// Enable userContent.css (disabled)
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue