seleznev / firefox-extension-simple-bookmarks-menu

Simple bookmarks menu extension for Firefox (discontinued)
https://addons.mozilla.org/firefox/addon/simple-bookmarks-menu/
Mozilla Public License 2.0
12 stars 1 forks source link

Port to Pale Moon? #11

Open paulri opened 7 years ago

paulri commented 7 years ago

Sorry if this is not the correct response, but I could not find another way to contact the Simple Bookmarks Menu developer. If a moderator can let Mr. Seleznev see this, I would understand if this has to be deleted.

Dear Aleksandr Seleznev,

I have been using Simple Bookmarks Menu for a year or two, and love how it cleans all the crud out of my bookmarks menu.

I am writing you to, to encourage you to port this addon over to be useable by the Pale Moon browser. I have started using Pale Moon, but was unable to install your addon when surfing the addons.mozilla.org site. For what it’s worth, the AMO site sees me as using a version of Firefox that is 27.x. Even in the “Complete Version History” section of your addon page, none were compatible with versions of Firefox earlier than 29.

Would you be interested in porting your addon over to be Pale Moon compatible? I am not a coder at all, but there are a couple of links that I can give you, that would be helpful if you wanted to do this.

http://developer.palemoon.org/Special:AllPages

http://xref.palemoon.org

Regardless of what you decide, thank you for making a great addon!

Respectfully, Paul Rittman

paulri commented 7 years ago

One more thing---that might be simpler than an actual port. Is there an earlier version of your addon, that would work with Firefox 27? That might be the best way to install it on PaleMoon right now, although the links above would most likely help you make an actual port.

seleznev commented 7 years ago

Hello, Paul!

Sorry, I don't interesting to port this extension to Palemoon (I just don't use this browser and doesn't have time to support extension). Also this extension created for Australis, so only for Firefox 29+

However, the extension is very simple - it's just read preferences (what items user choose to show) and create CSS to hide unnecessary items in the menu.


So, if you have some time and desire, you can make CSS by yourself:

  1. Install Stylish.
  2. Go to about:addons, find the "User Styles" list and create new userstyle ("Write new style" button).
  3. Put the following code and press "Preview" (I think code is "self-explained", just remove/edit blocks if needed):
    
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/*

@-moz-document url("chrome://browser/content/browser.xul") {

/ View Bookmarks Toolbar /

BMB_viewBookmarksToolbar,

BMB_viewBookmarksToolbar + menuseparator {

display: none;

}

/ Organize Bookmarks /

BMB_bookmarksShowAll,

BMB_bookmarksShowAll + menuseparator {

display: none;

}

/ Bookmark This Page /

BMB_bookmarkThisPage {

display: none;

}

/ Subscribe to This Page... /

BMB_subscribeToPageMenuitem,

BMB_subscribeToPageMenupopup,

BMB_subscribeToPageMenupopup + menuseparator {

display: none;

}

/ Bookmark Toolbar /

BMB_bookmarksToolbar,

BMB_bookmarksToolbar + menuseparator {

display: none;

}

/ Unsorted Bookmarks /

BMB_unsortedBookmarks,

BMB_bookmarksPopup > menuseparator.hide-if-empty-places-result {

display: none;

} }


4. Check changes in the bookmarks menu.
5. If all is ok, give name to userstyle and save.

---

I tested the userstyle on 27.2.1:

- before:
![screenshot from 2017-03-26 17-45-49](https://cloud.githubusercontent.com/assets/1687481/24330788/56e6039c-1250-11e7-9d53-db00c549cb3c.png)

- after:
![screenshot from 2017-03-26 17-58-06](https://cloud.githubusercontent.com/assets/1687481/24330787/5517fc96-1250-11e7-83a1-742e96618407.png)

Please let me know if this way doesn't work.
paulri commented 7 years ago

Thanks. If I do decide to use Pale Moon as my default browser, I will definitely work with this code. This was incredibly helpful, and I'll be sure to report here if I have any questions. Thanks again!