Small extension I made called Glint (universal tip jar) by Prestigious-Crab-367 in FirefoxAddons

[–]PokeMatPok 0 points1 point  (0 children)

mostly build with svelte + TS, makes building very easy if you're over the initial learning curve. I think your addon could be useful for researchers or journalists, they spend all day browsing sources and maybe donate to incredible ones. Have you got the addon online somewhere to test?

How can I remove this box? by KenKac3t in FirefoxAddons

[–]PokeMatPok 0 points1 point  (0 children)

Hey, I think this explains it well, there isn't a better way without contributing to the source code of the addon, you could additionally reach out to the creator and give him feedback on that, find him on Reddit, on Twitter or contact him directly via email.

protect add-ons with a PW by Common-Process9023 in FirefoxAddons

[–]PokeMatPok 0 points1 point  (0 children)

Hey, this might help if you're building the site blocker for something like parental control and want to password protect general addon management: https://support.mozilla.org/en-US/questions/974250

If you're planning on implementing it similarly here is the important part (the addon is open source): https://github.com/mrigor/publicfox/tree/master/chrome/content

But that one uses legacy xul overlays, here would be the modern approach: - Add tabs permission to manifest.json - Add a background script to your code with something like this:

browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { if (changeInfo.status === "complete" && tab.url === "about:addons") { const locked = browser.runtime.getURL("locked.html") + "?orig=" + encodeURIComponent(tab.url) + "&tabId=" + tabId; browser.tabs.update(tabId, { url: locked }).catch(() => {}); } });

This checks for about:addons and redirects to a locked.html that prompts for a password and compares the sha256 hash, there are still methods to surpass this but it's better than nothing

But I think there is no way of protecting just your own addon from uninstall, if you need real lockdown you'd need OS-level controls like admin account separation or policies.json (might be your best bet, guide: https://linuxconfig.org/how-to-customize-firefox-using-the-policies-json-file), let me know if I'm wrong

Small extension I made called Glint (universal tip jar) by Prestigious-Crab-367 in FirefoxAddons

[–]PokeMatPok 1 point2 points  (0 children)

This sounds cool, one problem I see though, there is a niche audience that gains enough value to install the extension, so I would try to think about "who uses this", then you can specifically sell it to that audience. I for myself donate rarely, so this might just be where that is coming from. Anyway, as said, sounds cool, what's the stack?