Can github link be whitelisted: https://github.com/sizzlemctwizzle/GM_config

I see only outdated version on greasyfork: https://greasyforks.org/libraries/GM_config/20131122

You can use this:

https://cdn.jsdelivr.net/gh/sizzlemctwizzle/GM_config@43fd0fe4de1166f343883511e53546e87840aeaf/gm_config.js

Thx, that works.
How did you got that link? Can it be generated to any GitHub code?

woxxomनियामक
§
पोस्ट केले: 2021-05-25
संपादित केले: 2021-05-25

I've looked at the allowed external URL patterns, then opened jsdeliver.com, and crafted the link per an example. I guess it works for any repo, I didn't verify it in the jsdeliver's documentation though.

So malicious scripts can slip through with this method, if GitHub is considered not safe.

woxxomनियामक
§
पोस्ट केले: 2021-05-25

No. GitHub isn't allowed because it's not CDN.

woxxomनियामक
§
पोस्ट केले: 2021-05-25

There's no difference wrt security because commit hashes change if the code changes.

Oh, yes.

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.

长期地址
遇到问题?请前往 GitHub 提 Issues。