Stylish for Firefox 1.2.2b1

edited August 2011 in Stylish
Available here.
  • Support for Firefox up to 9.0a1, Thunderbird up to 9.0a1, SeaMonkey up to 2.6a1
  • Uses the Orion source editor for syntax highlighting if available (currently only in Firefox 9.0a1)
  • Clicking on an error in the edit window moves the cursor to the error in the code.
  • Fixed a bug where in Thunderbird, messages in their own window didn't get working Stylish UI.

Comments

  • TssTss
    edited August 2011
    The editor looks good, but I can't use ctrl+z and there's no context menu in the edit window. Using Nightly, tried with a new profile just to be sure.
    EDIT: ctrl+c/ctrl+v works alright, just not ctrl+z.
  • Confirmed for today' nightly.
  • Tss said: The editor looks good, but I can't use ctrl+z and there's no context menu in the edit window. Using Nightly, tried with a new profile just to be sure.
    EDIT: ctrl+c/ctrl+v works alright, just not ctrl+z.
    Also confirmed on latest Aurora 8.0a2 and Nightly 9.0a1 there's no right-click mouse context menu in edit window. Back to Stylish 1.2.1, unless there is a way to disable the Orion source editor?



  • Hi np,
    I'm using latest stable version (1.2.1) and I was writing a userstyle, which I saved and then restarted Nightly in order to apply a new daily update.
    After the update my browser got instant crash. It appeared, that the cause is my stylish.sqlite file.
    I have a backup, so I didn't lose much (only the latest changes [work in progress] got lost).
    I believe, that stylish shouldn't cause a browser crash in ANY case, so if you are willing to somehow fix this issue and if it would be somehow helpful for you - I can upload my stylish.sqlite file.
  • I imagine that keyboard shortcuts and context menus are things the Firefox team is going to add to Orion. I'm not sure whether I want to add a pref to turn it off or just wait until a Firefox release that actually has this is closer.
    Drugoy said: I'm using latest stable version (1.2.1) and I was writing a userstyle, which I saved and then restarted Nightly in order to apply a new daily update.
    Styles can crash Firefox - there's not really much I can do about that. If you find that you're doing something sensible and it's causing crashing, I suggest you file it in Bugzilla. I know that doing stuff like * { overflow: auto;} really annoys Firefox.
  • Yeah, but if you have SAVED a style that causes a crash - all you can is to back up or try to manually repair the file. Even vacuuming this sqlite file doesn't help.
    So maybe you could add a key like if we would run firefox.exe with key "-no-styles" - none of the styles will be applied, so a user could normally run the browser, specify which exactly style is causing a crash and removing the crashy part out from the code (or the whole style). It's WAY better then losing all styles' data (if you don't have a back up).
  • edited August 2011
    I've been using Stylish 1.2 in Fx6, along with It's All Text!, with no problem. I've installed Stylish 1.2.1 just now, and there's no longer an option [button] for 'Open in external editor'. Anyone else have this problem?

    Edit: OK, turns out to be a problem with the latest It's All Text! (v1.6.0); the previous version works fine with both Stylish 1.2 and 1.2.1. Either someone changed something they shouldn't have or didn't change something they should have?

    Update: The developer of It's All Text! has a fix; it's still being tested. He'll submit it to AMO once it's ready.
  • edited August 2011
    Jason Barnabe (np) said: That exists already :)

    http://userstyles.org/help/stylish
    kool :)
    p.s.: used this method and the same file, with the same styles - now causes no crashes. That is weird :-/
  • edited August 2011
    Jason Barnabe (np) said: I imagine that keyboard shortcuts and context menus are things the Firefox team is going to add to Orion. I'm not sure whether I want to add a pref to turn it off or just wait until a Firefox release that actually has this is closer.
    Command shortcut and context menu already work in scratchpad!

    When you create a new instance of SourceEditor, it has "undo" and "redo" methods.
    The context menu isn't created by default by SourceEditor but has to be created normally in xul and then added with context="menupopupid" to the editor placeholder element.
  • That's kinda dumb. I'm going to file a bug to have those things work automatically. In the meantime, I'll implement keyboard shortcuts for undo and redo myself.
  • Actually, undo/redo's coming up soon.

    Filed this one for a context menu.
  • Orion source editor looks good but I must switch back to Stylish 1.2.1 because of Undo problem.

    Hope Orion edit support autocompelete Mozilla Toolbar, item ID in the future
Sign In or Register to comment.