Fixed-width and CSS Annihilator 作者: Veyrdite
Provides key shortcuts for removing fixed-width page styling, un-sticking "fixed" elements and disabling CSS completely.
您需要 Firefox 来使用此扩展
扩展元数据
关于此扩展
Usage
Key shortcuts:
This addon does not work well on some websites. The web is too complex to make a perfect solution.
To "undo" any changes made to a page: refresh the page. No changes are permanent.
De-widthify
Many websites restrict the width of their text columns. Some people find this unergonomic, especially on small laptop screens and/or articles that require lots of scrolling.
This addon subverts the most common way websites implement fixed-width text columns: margins in CSS. When you press Shift+Alt+X all page margins are nullified.
This solution is not 100% reliable. Some websites will work fine, others may look ugly or break. It's impossible to make a page-modifying solution that works on every possible site out there.
Un-sticky "position:fixed" elements
Many websites contain large headers or footers that are "fixed" in place even when you scroll down. This can be unergonomic on small screens.
This feature naively disables all such elements. A small amount of extra vertical whitespace may be left behind due to styling technicalities.
Disable CSS
This features disables all site stylings, leaving you with your browser's default CSS styles instead. A few extra (minor) rules are added (eg to prevent images exceeding your screen width).
Useful for when:
The default CSS styles provided by your browser are generally considered easy to read, however they can be further customised via UserChrome.css.
Caution: some websites intentionally hide elements they do not want you to interact with. I do not recommend using interactive sites with CSS disabled, it can be a very confusing experience.
Future Extension Ideas
I am unlikely to implement these features unless nagged or helped :)
Key shortcuts:
- Shift+Alt+X: De-widthify current page (and un-stick fixed page elements)
- Shift+Alt+A: Disable all styles (CSS) on current page
This addon does not work well on some websites. The web is too complex to make a perfect solution.
To "undo" any changes made to a page: refresh the page. No changes are permanent.
De-widthify
Many websites restrict the width of their text columns. Some people find this unergonomic, especially on small laptop screens and/or articles that require lots of scrolling.
This addon subverts the most common way websites implement fixed-width text columns: margins in CSS. When you press Shift+Alt+X all page margins are nullified.
This solution is not 100% reliable. Some websites will work fine, others may look ugly or break. It's impossible to make a page-modifying solution that works on every possible site out there.
Un-sticky "position:fixed" elements
Many websites contain large headers or footers that are "fixed" in place even when you scroll down. This can be unergonomic on small screens.
This feature naively disables all such elements. A small amount of extra vertical whitespace may be left behind due to styling technicalities.
Disable CSS
This features disables all site stylings, leaving you with your browser's default CSS styles instead. A few extra (minor) rules are added (eg to prevent images exceeding your screen width).
Useful for when:
- A website is difficult to read
- A website is hiding parts of or the whole page from you
The default CSS styles provided by your browser are generally considered easy to read, however they can be further customised via UserChrome.css.
Caution: some websites intentionally hide elements they do not want you to interact with. I do not recommend using interactive sites with CSS disabled, it can be a very confusing experience.
Future Extension Ideas
- Options dialog: configurable "extra-CSS rules" to be added when you disable CSS
- Options dialog: configurable CSS for the de-widthify feature
- Options dialog: configurable key shortcuts
- Toolbar button
- General goal: make a more configurable alternative to "Firefox Reader Mode"
I am unlikely to implement these features unless nagged or helped :)
为您的体验打分
更多信息
- 附加组件链接
- 版本
- 1.1.0
- 大小
- 33.29 KB
- 上次更新
- 5 年前 (2019年8月3日)
- 相关分类
- 许可证
- 仅 GNU 通用公共许可证 v3.0
- 版本历史
添加到收藏集
1.1.0 的发布说明
Updated de-widthify CSS rules to slightly increase site compatibility.
It's still not perfect, and notably sites that use "!important" in their rules can still override this addon. In the long term some JS is needed to strip such rules from sites (or similar).
It's still not perfect, and notably sites that use "!important" in their rules can still override this addon. In the long term some JS is needed to strip such rules from sites (or similar).
Veyrdite 制作的更多扩展
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分