Open topkie opened 1 year ago
Does the @ICON item have to be a URL address?
The truth is, I have no idea.
I found no clue about the use of @icon
in data URI format, based on docs of the following 4 userscript engines.
TamperMonkey: userscript headers GreaseMonkey: metadata block GreasyFork: meta keys ViolentMonkey: metadata block
According to tampermonkey, @icon
, @iconURL
and @defaulticon
are substitutes of each other. Noticing the name @iconURL
, that is why I defined @icon
to be an URL address.
If you found any docs or use cases of @icon
in data URI format, please feel free to let me know, thank you!
:)
I learned this usage from other scripts, but I found some issues about it:
https://github.com/Tampermonkey/tampermonkey/issues/1500 https://github.com/violentmonkey/violentmonkey/issues/1130
I have only used Tampermonkey, I hope this is helpful.
I have written a configuration with the
@icon
item as a base64-encoded image like this:There is an error message like this:
Does the @icon item have to be a URL address?