Συζητήσεις » Ανάπτυξη

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

§
Δημοσιεύτηκε: 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

§
Δημοσιεύτηκε: 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

§
Δημοσιεύτηκε: 09/07/2023
Επεξεργάστηκε: 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?

NotYouΣυντονιστής
§
Δημοσιεύτηκε: 09/07/2023

It was <$ICON$>

§
Δημοσιεύτηκε: 09/07/2023

It was <$ICON$>

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

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.