Stylish-Custom
this is an unofficial extension to Stylish (i'll help if i can, but my js is lacking)
Stylish-Custom Guide
GitHub
Files
changelog
AMO page
most features:
customizable edit dialog (drag n drop)
restores the !important button, Color/Site Rules menuitems, enable/update checks
Page button (left click for style page, right for edit page, it also posts the code. middle if you don't want to post code)
style info listing with quick enable toggle (dbl-click to edit style, can also search within styles)
import/export styles and stylish-custom settings
disable all styles then enable them afterwards
take snapshots of style statuses and restore them
adds search/replace to edit dialog (ctrl+F, ctrl+R, and F3)
press ! to type !important (can be changed in edit dialog)
select and un/comment/merge lines of text
discard preview
if anyone wants to do some translating (or just fork it on github)
if you wish to show your appreciation for this extension, please help jason keep the site going and donate
Stylish-Custom Guide
GitHub
Files
changelog
AMO page
most features:
customizable edit dialog (drag n drop)
restores the !important button, Color/Site Rules menuitems, enable/update checks
Page button (left click for style page, right for edit page, it also posts the code. middle if you don't want to post code)
style info listing with quick enable toggle (dbl-click to edit style, can also search within styles)
import/export styles and stylish-custom settings
disable all styles then enable them afterwards
take snapshots of style statuses and restore them
adds search/replace to edit dialog (ctrl+F, ctrl+R, and F3)
press ! to type !important (can be changed in edit dialog)
select and un/comment/merge lines of text
discard preview
if anyone wants to do some translating (or just fork it on github)
if you wish to show your appreciation for this extension, please help jason keep the site going and donate
Comments
Add another advantage: We don't have to search for the URL through the entire thread when you made another update
it shouldn't do that.. focus is going away from the search box and it should just stay there if this is how this addon works.. also only case sensitive?
and what are the Stylish-custom options about? Manage View options?
A couple of issues:
first of all, congrats and thanks for the Disable/Enable option - just awesome (except it stalls Fx for 45+sec. on each of those options). Would be just perfect if after disabling all, it would be possible to enable/disable a few styles, then enable the original state of styles. That's what rawny's button is having troubles with.
What is No preview for?
It's really quite ... easy, Izzy ;-) - if i don't understand, i don't know what i'm missing and if i need it ;-)
So, nobody's willing to explain?
disable all, enable a few, do whatever enabling/disabling them at will. When done, enable all (meaning all that where enabled before you began all that. See. How would the ext. know which 'all' to enable at the end?)
Oh, thanks for above explanation even though i still don't understand what 'manage view' means ;-)
And, how to hide that No Preview button? The editor disappears on a DOMi click... TIA!
ChoGGi: To make it clearer, maybe you want to rename "disable/enable" to "disable/restore (state)"? As for the Ctrl-F: Yes, I understood Jason the same way (that he wants to add it).
Regarding the 45s: Just pressing "Preview" (which is for one style) takes about 5s here as well...
As for the D/E - it's a mess!
First of all, there's 'Turn all styles off' (under statusbar icon menu in my set up). But then we also have Disable/Enable all styles which seems to be only accessible from the editor window/Tools dropdown. Which means i have to click 'write style' before i can disable all styles?
But the function itself did work for me all right - tested a few times - which is great!!
So, i think i'd like to have a Disable/Enable all styles button in my sidebar bottom bar, right next to the Write button (which is first in my setup). Or on the top bar, next to the search bar. Have an idea how to do that?
Izzy, i have no problems with any buttons except for D/E taking that long and stalling Fx totally - i think it's because the file is too large. Fx also choks on large copy/paste chunks here, i'm not surprised (i remember a few years ago you were lucky if it worked for you at all!).
And the Manage view - thanks for the explanation, i guess i don't care. Mine is set to 1, i think it's default? don't remember now and don't care. I use ... you've guessed it! a CB to open it in the sidebar. other than that, it opens in window and i can also access it from addons tab. Geeze!.. stylish everywhere!
Let's say you have 3 styles of which 2 are disabled and 1 is enabled. You disable all styles, then enable #1 & 2. Now click Enable all. The first 2 will be enabled also. So, you have to remember if you're enabling disabled styles and disable them before clicking Enable for the last time.
Other than that (and taking 45sec. to disable or enable) it works fine.
missed some text to add to dtds
changed enable/disable styles to say disable/restore rules (and some tooltips)
added statusbar/toolbar buttons to enable/disable styles (statusbar icon can be hidden in options) the js basically adds an attribute to enabled styles say it was disabled, then disables it, then when you use restore it only enables the styles with that attribute
esc to close manage window (only for standalone window)
added comment/uncomment buttons (select some text then press comment to add /**/ to it, like so: selected text => /*selected text*/ )
i'll see about it, but don't hold your hopes up
disables previously disabled styles after you restore disabled styles
press toggle and enable auto!important (default is ; you can change it)
if you have disabled/enabled styles and you disable all it marks the disabled ones, then if you enable a disabled one it'll be disabled after you restore the styles
is that what you wanted?