Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose own emoji for icon #14

Open
rugk opened this issue Apr 12, 2019 · 2 comments
Open

Choose own emoji for icon #14

rugk opened this issue Apr 12, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@rugk
Copy link
Owner

rugk commented Apr 12, 2019

May be hard to implement, but certainly worth it… 😜

@rugk rugk added the enhancement New feature or request label Apr 12, 2019
@Prometheos2
Copy link
Contributor

Using that "StackOverFlow" answer, we could maybe implement ImageMagick scripts into the program, and convert the smileys into an icon for the addon.

@rugk
Copy link
Owner Author

rugk commented May 19, 2019

Add-ons are a website, i.e. HTML, JS etc. I hardly think we can (okay, possibly we could, but it would be hard, e.g. with WebAssembly) add imagemagick there.

In the web context we are speaking of, I really think it is possible by getting the emoji via emoji-mart, extract the PNG from that and use some Canvas or so to convert it properly to the right size.
Then we can just set it via https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction/setIcon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants