Stylish for Firefox 1.1b2



  • edited December 2010
    Uhmm, yeah, if it'd work with styles but i don't think it does. Does it?
    Your code above doesn't work (for me anyway). But here's an interesting thing. I think they've changed something again, cause in my latest hourly that Compatibility button shows only on selected exts., yet it shows on all styles (which, as i said is pointless since it doesn't work with styles, it's for 'addons'. Let Jason correct me if i'm wrong).

    This works:
    #addon-list /*richlistitem[name="Stylish"] */[anonid="compatibilityButton"]

    but, of course, it takes the button out everywhere. If you uncomment what makes sense, the Stylish part, it doesn't work.
  • i wasn't thinking of the userstyles list :)
    @namespace url(; @-moz-document url(about:addons){ #addon-list richlistitem[type="userstyle"] button[anonid="compatibilityButton"]{display:none!important} }
  • Perrrrfect. That works, thanks, ChoGGi!
  • Thanks, it looks much better and feels less hacked in now.
  • Will you give us the option to disable the Status-Bar icon? The one for Toolbar/Add-on Bar is more than enough in FireFox 4...

    Thank you for your efforts!
  • I'm getting a blank error box in the Stylish Editor when there are no errors

    Actual errors show up properly

    This seems to have only just happened after using 1.1b1 for a while without issue
  • edited December 2010
    Did you try 1.1b2?
  • Yeah same problem unfortunately

    There is something in the error console relating to stylish if that would shed some light

    Error: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://stylish/content/edit.js :: anonymous :: line 271" data: no]

    error: An exception occurred. Traceback (most recent call last): File "chrome://global/content/bindings/dialog.xml", line 327, in _handleButtonCommand"dlgtype")); File "chrome://global/content/bindings/dialog.xml", line 338, in _doButtonCommand var noCancel = this._fireButtonEvent(aDlgType); File "chrome://global/content/bindings/dialog.xml", line 364, in _fireButtonEvent var returned = fn(event); File "chrome://global/content/bindings/dialog.xml", line 363, in anonymous var fn = new Function("event", handler); File "chrome://stylish/content/edit.js", line 238, in preview style.code = getCode(); File "namespace url(;\n\n@-moz-document domain( {\n\nhtml {\n display: none !important;\n }\n}\n") @jar:%userprofile%/extensions/%7B46551EC9-40F0-4e47-8E18-8E5CF550CFB8%7D.xpi!/components/stylishStyle.js", line 192, in File "namespace url(;\n\n@-moz-document domain( {\n\nhtml {\n display: none !important;\n }\n}\n",2)@jar:%userprofile%/extensions/%7B46551EC9-40F0-4e47-8E18-8E5CF550CFB8%7D.xpi!/components/stylishStyle.js", line 780, in File "jar:%userprofile%/extensions/%7B46551EC9-40F0-4e47-8E18-8E5CF550CFB8%7D.xpi!/components/stylishStyle.js", line 532, in var sheet = this.getStyleSheet(this._code); File "namespace url(;\n\n@-moz-document domain( {\n\nhtml {\n display: none !important;\n }\n}\n") @jar:%userprofile%/extensions/%7B46551EC9-40F0-4e47-8E18-8E5CF550CFB8%7D.xpi!/components/stylishStyle.js", line 519, in File "resource://jid0-nrwp7vvcqzcsrtppwwz2npqgekw-api-utils-lib/observer-service.js", line 174, in this.callback(subject, data); File "resource://jid0-nrwp7vvcqzcsrtppwwz2npqgekw-addon-kit-lib/page-mod.js", line 184, in _onContentWindow if (RULES[rule].test(window.document.URL)) TypeError: window is null

    Hope this is helpful
    851 x 544 - 32K
  • I have a major problem with this version. I know updates don't suppose to work however, when checking for updates for 'addons', it's trying to check for updates for styles as well and it stalls Mf. Probably depends on how many styles one has but i have 125 (37 of them disabled, if it matters) and it stalls (the manager) for a minute or so. Plus, it shows the progress bars on styles (i have them in the sidebar) and it scare daylights off me 'cause i never update my styles (from the site) and don't know what that thing is doing. I hope it doesn't update the styles ... it doesn't really work, right?
  • it still has the statusbar icon
  • and ffs fix the damn forum: the ugly horizontal scrollbar on this page is really ugly. Make "code", "quote", etc. have an own scrollbar for their container, not for the whole page
  • edited December 2010
    The forum is moving soon anyway. You know, you should stop complaining about petty stuff and either learn to do things yourself or ask politely. Nobody here is obligated to do anything for you. I have no scroll because i have a code that puts scrolls in boxes instead. Make your own style and stop demanding stuff. If you don't know how, ask politely and see if anybody will be willing to help.
    And stop nagging about the statusbar icon. I'm sure Jason knows about it and i gave you a code to hide it.
    Geeze ... Hmm...
  • Got the status bar thing fixed locally. Giving updates another shot...
  • The problem i see with updates is that i don't want the addons manager look for styles updates, you see. I think that adds another 'trickiness' to it. Like, an option to not update styles? and block addons manager from nosing if it's set?
  • I think you can tell things in the add-on manager to not update.
  • But i don't want all 'things' to not update. Just don't check for styles updates. My manager is set to not check and i check for updates manually. When i do, i click the toolbar button (upper right corner button) > Check for Updates. And that's when it checks for styles updates and shows updates progressmeter (which has never worked properly, btw) and stalls Mf for a minute or so. I often have to restart Mf because that updates check messes up the styles manager: some styles will have the meter on them, some will have word 'Done' next to them, some will have An update available > Update. It's just too messy for me since i don't want any styles updates in the first place. I make my own styles and many are modified from the posted version for my personal use. There styles i'm still working on and, of course, don't want them to be 'updated' to an outdated us.o version.
    I'd rather have an option in Stylish to not check for updates but suspect it's easier said than done.
Sign In or Register to comment.