User:Isaacl/script/toggle-discussion-threads-style
Appearance
Toggle discussion threads style rules | |
---|---|
Description | Enables/disables CSS style rules for discussion threads |
Author(s) | isaacl |
Status | released |
First released | August 10, 2023 |
Version | 1.0 |
Updated | August 10, 2023 |
Browsers | see User:Isaacl/style/discussion-threads § Browser support |
Source | User:isaacl/script/toggle-discussion-threads-style.js |
The User:Isaacl/script/toggle-discussion-threads-style script is used in conjunction with the User:Isaacl/style/discussion-threads user style sheet. With both installed, you can temporarily disable (and re-enable) the CSS style rules for discussion threads defined in User:Isaacl/style/discussion-threads.css via a menu item, "Toggle thread style" in the tools menu. Navigating to a new page or reloading the current page will re-enable the CSS style rules.
To install, you can use the script installer gadget, or add the following text to your common.js file:
mw.loader.load('http://en.wiki.x.io/wiki/User:Isaacl/script/toggle-discussion-threads-style.js?action=raw&ctype=text/javascript', 'text/javascript');