Diskuse » Development

can't remember the dynamic domain variable at end of '// @icon https://www.google.com/s2/favicons?sz=64&domain=___'

§
Posted: 09. 07. 2023

I had my default userscript template set to automatically add the domain name to get the favicon for a site when clicking 'Create a new script...'
but, I can't remember the dynamic domain variable at end of:
// @icon https://www.google.com/s2/favicons?sz=64&domain=

I tried <$DOMAIN$> and <$URL$> and https://www.google.com/s2/favicons?domain=${domain}&sz=${size}, but they didn't work

§
Posted: 09. 07. 2023

well, 'domain=myanimelist.net' is the kind of end result I want, but there used to be a variable like <$DOMAIN$> or <$URL$> so that when using 'Create a new script...' it would automatically append any domain name from any website I was already on to the icon address url

§
Posted: 09. 07. 2023
Edited: 09. 07. 2023

I don't think that greasyfork had it and from what I know. And (I read the documentation multiple times) of tampermonkey, it never had it either...

Are you talking about a specific script on greasyfork or something else maybe?

NotYouMod
§
Posted: 09. 07. 2023

It was <$ICON$>

§
Posted: 09. 07. 2023

It was <$ICON$>

Yes dude! that's it, glad to have it back, cheers

Post reply

Sign in to post a reply.