qinxs / Ease-Bookmarks

简单易用的书签管理器
MIT License
137 stars 9 forks source link

Firefox Version? #27

Open JacksAlias opened 3 months ago

JacksAlias commented 3 months ago

Looking to move from Chrome to Firefox, this extension is the only one I can't find a good replacement for.

Is a Firefox version planned or possible?

Thanks.

qinxs commented 3 months ago

The bookmarking API of firefox is very different from that of chrome. Need to do some compatibility processing (polyfill)

I'll try it as soon as possible

JacksAlias commented 3 months ago

Thank you for the response. I've been trying to recreate a very simple version using UserChrome.css, but I'm not a coder and have very limited knowledge. I did manage to put something together that recreated the basic function of columns, but it altered other menus also, like the right-click context menu, so was unusable.

Screenshot: Here (the section under the bookmarks is the context menu) Code:

#bookmarksMenuPopup {width: 320px !important}

.menupopup-arrowscrollbox *{
  display: grid;
  grid-template-columns: 130px 130px 130px 130px;
  padding: 5px;
  justify-content: center;
}

EDIT: Asked for help on Reddit (r/FirefoxCSS) thread here. and someone replied with fixed code.

#PlacesToolbarItems {
  --uc-display: grid;
  --uc-grid-template-columns: 130px 130px 130px 130px;
  --uc-padding: 5px;
  --uc-justify-content: center;
}

.menupopup-arrowscrollbox * {
  display: var(--uc-display, revert);
  grid-template-columns: var(--uc-grid-template-columns, revert);
  padding: var(--uc-padding, revert);
  justify-content: var(--uc-justify-content, revert);
}

Figured I'd update here just incase anyone wants it.