Stylish 1.0.8 beta
Available here
- Right-click a group in the add-ons dialog lets you enable, disable, find updates, or uninstall entire group
- Add-ons dialog no longer shows Stylish icon on Mac
- If you have a style for url-prefix(http://), it will no longer show up in all mange dialog search results
- Styling a page with spaces in it works properly
- Update to Japanese locale
- Added Hebrew locale
Comments
Forgot one more thing (you promised
would it be possible for you to make it so that when styles are re-enabled, only the ones that have been enabled originally are enable again? As is now, let's say i have 4 styles in a group. 2 disabled, 2 enabled. I disable the group and then enable it: all 4 get enabled. It would make more sense if styles would returned to their original state.
TIA!
Why? to get the manager pane an icon in addons-manager:) Could you, per any chance, make the default behaviour to have the icons as is case on win/linux and add a preference to disable the icon?
I guess, Enable and Revert serve diff. purpose. A group can be disabled for whatever reason (like day/night styles, for example) and it makes perfect sense to have it all enabled/disabled. Revert option is handy for conflicts checking - instead of disabling all styles, you can disable a certain group or group by group. In that case, reverting back to the previous state is the key.
The list above is an exact duplicate, at least to start: if I switch to a tab with a different site open, and hence a different list of valid styles, the new entries populate into the duplicate list (above the separator), and keep duplicating as I open and close the menu.
Every time I re-open the context menu, I get a whole new set of entries for the present valid styles. And it keeps going until the context menu is taller than the screen-- and then keeps going and going until I restart Fox.
This happens with and without Stylish-Custom enabled, and it's persisted into the 1.0.8 beta, so I'm posting here.
-- I *do* have javascript.options.jit.chrome set true, but I've already tried it both ways, with restarts in between.
I've contacted the author to let him know about the breakage.
I figured out the problem of Stylish + Menu Icons Plus. Menu Icons Plus is adding class names to menu items, and Stylish isn't expecting it, so screws stuff up. If you go into Stylish's overlay.js, change the block for clearStyleMenuItems to this:
menuItemClassesToClear: ["stylish-menuseparator", "style-menu-item", "no-style-menu-item"], clearStyleMenuItems: function(event) { var popup = event.target; for (var i = popup.childNodes.length - 1; i >= 0; i--) { for (var j = 0; j < stylishOverlay.menuItemClassesToClear.length; j++) { if (popup.childNodes[i].className.indexOf(stylishOverlay.menuItemClassesToClear[j]) != -1) { popup.removeChild(popup.childNodes[i]); break; } } } },
I'll put this fix in the next version.