Discussions » Greasy Fork Feedback
By-site Search Not Working for sub-domain
Correct Result shall be
Applies to m.youtube.com
https://greasyfork.org/scripts/by-site/m.youtube.com
show it
https://greasyfork.org/scripts/by-site/youtube.com
show it too.
Greasy Fork intentionally only lists eTLD+1.
Why?
There are lots of sites having two different layouts (mobile & desktop) by the use of sub-domain.
If the script is specified for the sub-domain, and the user wants to find the script used in that sub-domain, Greasy Fork shall be able to find it.
The change would not affect the current practice, no results will get disappear.
Just an additional support to the subdomain searching.
It's for simplicity's sake. Most of the time the subdomain doesn't matter.
You can easily do search by code, so you cloud find all the scripts for m.youtube.com, there is a link. That may be not the perfect solution because it sometimes doesn't find all the scripts, but mostly it works.
https://greasyfork.org/en/scripts/457587-youtube-minimal-fixs
// @match https://m.youtube.com/*
The script shall only work on
m.youtube.com
, notyoutube.com
https://greasyfork.org/scripts/by-site/m.youtube.com
not found.