2
TrayKnots
59d

Fucking hell, writing browser addons is annoying.

I just wanted some small addon for myself. But first did it in tampermonkey. It was supposed to take a screenshot of the website and upload it together with the link of the website to my server. First used html2canvas. Terrible performance. But addons can take direct screenshots.

Reason, when I listen to something or watch something while holding my little daughter, I cannot copy links over. But I can quickly slap a key combination and save for later what I just saw.

Anyway. Addons are terrible. The error messages makes no sense. Missing permission active_tab... Fucking hell, it was missing host permissions. Permissions has to be one of. Documentation sucks on MDN.

And then, you can not even install unsigned addons. I do not want to share my addon with mozilla. You have to install Firefox Dev or ESR for it. Switched to Firefox Dev.

But I feel sorry for everyone having to write browser addons professionally.

Comments
  • 4
    I would put browser addons in the category of stuff where, if you think you need to do it, you should take a cold shower and go and lie down until the feeling has passed.

    It's like SQLCLR, or smoking crack. If you go back to the underlying problem, there is almost certainly a better solution.
  • 1
    Yeah I probably would have used AutoHotkey or something
Add Comment