Stylish for Firefox 1.2.5b1
Available here
- Editor will prompt to save if you cancel with unsaved changes.
- When inserting predefined text into the editor, it will retain the vertical scroll position.
- Fixed a localization bug that made "User Styles" show up in the add-ons manager regardless of what language the browser is set to.
Comments
nice, thank you very much
I have a dude , the text is all black in the edit window .
Is "Orion" not supported in the edit window ?
Firefox 9.0.1, Windows 7 Home Premium SP1 64bit with Aero. Thank you! It works as expected! :D
As for orion greyish, same here. In fact, I commented here days ago:
Nightly 2011-12-15 build, oorion went wrong, again...
http://forum.userstyles.org/discussion/comment/60853#Comment_60853
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: XStringBundle :: getString :: line 17" data: no]
So, problem solved. I'll simply use English for now.
For curiosity, what's the extensions.dtd file for? It seems to translate the whole Add-ons Manager - what has that with Stylish to do?
extensions.dtd is a copy of the Firefox's file. Stylish reuses some of the strings in there (ex: Disable, Uninstall) rather than redefining its own.
And about the editor turns gray in nightly since 20111215, this bug is suspect:
Bug 511909 – [css3-conditional] allow @-rules inside of @media and @-moz-document
https://bugzilla.mozilla.org/show_bug.cgi?id=511909
var service = Components.classes["@userstyles.org/style;1"].getService(Components.interfaces.stylishStyle) var style = service.find(1, service.REGISTER_STYLE_ON_CHANGE); // 1 is the id of the style style.enabled = false; style.save();
Other method signatures are in stylishStyle.idl in the extension.
I've tried to use BabelZilla many times in the past, but it has never worked out for me. When I tried going there today, Firefox blocked the site, telling me that it's unsafe and uses an invalid security certificate. So please accept this fixed translation I provide here.
Let me elaborate on this some more. Have customizable edit/add/delete libraries where we would be able to place "organize" userstyles into a library. Have these libraries have an option to turn into Tabs inside Stylish and have unlimited creation of these libraries. Be able to change title of libraries etc, completely editable.
I find this would be a strong feature.
What are some thoughts on this?
In Firefox 3.6 I used tags to achieve that - when sorting by tag, you get a folder-like experience. However, you can't have nested "folders", though, but it was good enough.
However, in Firefox 4+, tag sorting isn't possible when using Stylish in the Add-ons Manager (which I do). So, instead I started renaming my styles, adding their former tag name as a (though shorted down) prefix, like "A" for glass styles and so on, so that when sorting alphabetically, styles "from the same folder" would be placed next to each other, and then I created a style that puts separators between the different "folders" - styles with the same prefix in their name, that is. Still, no nesting (well, perhaps through some more complicated system), but now also no collapsing of "folders" (tags are collapsable). Works quite well, though.
That said, being able to put styles in "folders", and folders in folders, would be a nice feature. But, my guess is that the Add-on Manager limitations won't make it possible ...
And Jason, could you take a look at this?