hiding the bookmark toolbar

using SeaMonkey 2.49.4.

I have this style to hide the bookmark toolbar until I hover over it:

@-moz-document url-prefix(chrome://navigator/content/navigator.xul) {

#PersonalToolbar {visibility: collapse;}
#navigator-toolbox:hover > #PersonalToolbar
{ visibility: visible; }
}

It works for SM 2.49.1, but not SM 2.49.3 or 4, it remains open.

Did SeaMonkey change its coding for the bookmark toolbar? I can't find it in the DOMI. Can someone help me?

Thanks.

Comments

  • edited October 3 [?]

    You are running a "legacy" version of Stylish or is that in userChrome.css?

    Try removing the @-moz-document so it's just:

      #PersonalToolbar {visibility: collapse;}
      #navigator-toolbox:hover > #PersonalToolbar {visibility: visible;}
    
  • I'm using Stylish 2.1.1. I tried to download the file but I get the message that the file is corrupted.

    I took out the line and it remained visible.

    I put it in userChrome.css file and it works, but it disabled a lot of my other styles.
  • I'm using Stylish 2.1.1. I tried to download the file but I get the message that the file is corrupted.

    What file?

    I put it in userChrome.css file and it works, but it disabled a lot of my other styles.

    What do you mean by "it"? Did you try the two lines in my reply without anything else? I'm not aware of any other elements that have id="PersonalToolbar" so nothing else should be affected.

  • Jefferson said:

    I'm using Stylish 2.1.1. I tried to download the file but I get the message that the file is corrupted.

    What file?

    I tired to reinstall Stylish from userstlyes.org, but I got the message that the file was corrupted.
    I put it in userChrome.css file and it works, but it disabled a lot of my other styles.

    What do you mean by "it"? Did you try the two lines in my reply without anything else? I'm not aware of any other elements that have id="PersonalToolbar" so nothing else should be affected.


    My mistake. I thought the userchrome.css file disabled a lot of my styles. I went back to SM 2.49.1 and all my styles came back. So, it seems that SM 2.49.4 and Stylish don't like each other.

    Yes I removed that line. In SM 2.49.1 the toolbar remained visible, and in SM 2.49.4, it too remained visible. That's why I put the style in userChrome.css.
  • Unfortunately, the legacy version of Stylish is not getting any updates.

    Also, the older versions were removed from the Mozilla Add-ons site due to some privacy issues, so you need to rely on unofficial sources. For example, I have a copy of 2.1.1 here: https://www.jeffersonscher.com/temp/Stylish211Fx/

    While in theory someone could update it for changes in SeaMonkey, the Mozilla Add-ons site is no longer "signing" new legacy extensions, so it wouldn't be possible to create a valid digital signature for a modified version.

    Possibly it has reached the end of the road...
  • Thanks for the advice. I guess I'll have to put all my styles in the userContent.css and userChrome.css files, and do away with Stylish.
  • "It works for SM 2.49.1, but not SM 2.49.3 or 4, it remains open."
    Set layout.css.moz-document.content.enabled to true in about:config to enable @-moz-document again. See the note at https://developer.mozilla.org/en-US/docs/Web/CSS/@document for background.

    "I have a copy of 2.1.1 here: https://www.jeffersonscher.com/temp/Stylish211Fx/"
    That archive is a year newer than the last Github commit to "legacy" Stylish (1 Aug 2016 vs 31 Oct 2017). I wonder what was changed, and by whom?
    "legacy" Stylish: https://github.com/stylish-userstyles/stylish

    Safer maybe to install from Github. Go to https://github.com/stylish-userstyles/stylish, 'Download ZIP', extract the folder that's inside that .zip file, zip up the contents of that folder, give it a .xpi filename, and install it. (Add-ons manager, gear, 'Install Add-on From File').

    "Did SeaMonkey change its coding for the bookmark toolbar?"
    No. Go to the Browser Toolbox (ctrl+alt+shift+i) Console, type
    e = $('#navigator-toolbox > #PersonalToolbar');
    and then
    e.ownerDocument.documentURI
    to see that this is true.

    NB: When you click 'Install with Stylish' Userstyles will try (and fail) to install the WebExtension. ("SeaMonkey prevented this website from asking you to install software..."). To install the style, just close that message and reload the page.

    "You are running a "legacy" version of Stylish...?"
    SeaMonkey 2.49 ~ Firefox 52.0. Old extensions work, WebExtensions not so much.

    "it wouldn't be possible to create a valid digital signature for a modified version."
    Isn't necessary - SeaMonkey sets xpinstall.signatures.required to false.

    "older versions were removed from the Mozilla Add-ons site due to some privacy issues"
    Not quite. There wasn't an issue with "legacy" Stylish, and those versions weren't on the block list. Unfortunately, some half-wit at Mozilla expected Stylish to immediately disappear from browsers once the block was placed, panicked when it didn't, and deleted the packages to force the issue without first asking why.
  • o! said:

    "I have a copy of 2.1.1 here: https://www.jeffersonscher.com/temp/Stylish211Fx/"
    That archive is a year newer than the last Github commit to "legacy" Stylish (1 Aug 2016 vs 31 Oct 2017). I wonder what was changed, and by whom?
    "legacy" Stylish: https://github.com/stylish-userstyles/stylish

    Compared with 2.0.7, 2.1.1 was said to contain migration code to move styles from SQLite storage to WebExtensions (JSON) storage. You can compare if you like; I haven't.

    https://www.jeffersonscher.com/temp/Stylish211Fx/{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}(2.0.7).xpi
  • o!o!
    edited October 7 [?]
    All I'm saying is, if you got that doobie from the guy with the chancre then maybe you shouldn't be passing it around.

    Wait, strike that. It seems what I said was, '... don't take a puff.' (But good advice either way.)
  • edited October 24 [?]
    Jefferson said:

    o! said:

    "I have a copy of 2.1.1 here: https://www.jeffersonscher.com/temp/Stylish211Fx/"
    That archive is a year newer than the last Github commit to "legacy" Stylish (1 Aug 2016 vs 31 Oct 2017). I wonder what was changed, and by whom?
    "legacy" Stylish: https://github.com/stylish-userstyles/stylish

    Compared with 2.0.7, 2.1.1 was said to contain migration code to move styles from SQLite storage to WebExtensions (JSON) storage. You can compare if you like; I haven't.

    https://www.jeffersonscher.com/temp/Stylish211Fx/{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}(2.0.7).xpi
    Chongo said:

    using SeaMonkey 2.49.4. https://notepad.software/ https://downloader.vip/malwarebytes/ https://filezilla.software/

    I have this style to hide the bookmark toolbar until I hover over it:

    @-moz-document url-prefix(chrome://navigator/content/navigator.xul) {

    #PersonalToolbar {visibility: collapse;}
    #navigator-toolbox:hover > #PersonalToolbar
    { visibility: visible; }
    }

    It works for SM 2.49.1, but not SM 2.49.3 or 4, it remains open.

    Did SeaMonkey change its coding for the bookmark toolbar? I can't find it in the DOMI. Can someone help me?

    Thanks.

    I worn-out to reinstall elegant from userstlyes.org, however I got the message that the report became corrupted.
    I placed it in userChrome.css record and it works, however it disabled a number of my other styles.
    What do you suggest by way of "it"? Did you try the 2 lines in my reply with out whatever else? i am no longer aware about any other factors that have id="PersonalToolbar" so nothing else need to be affected.


    My mistake. I thought the userchrome.css file disabled lots of my patterns. I went lower back to SM 2.forty nine.1 and all my styles came returned. So, it seems that SM 2.forty nine.4 and fashionable do not like each other.

    sure I removed that line. In SM 2.forty nine.1 the toolbar remained visible, and in SM 2.forty nine.four, it too remained seen. that is why I placed the fashion in userChrome.css.
Sign In or Register to comment.