We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0046bb7 commit 76481c8Copy full SHA for 76481c8
1 file changed
src/app/service/service_worker/gm_api.ts
@@ -682,7 +682,7 @@ export default class GMApi {
682
if (request.script.metadata.connect) {
683
const { connect } = request.script.metadata;
684
for (let i = 0; i < connect.length; i += 1) {
685
- if (url.hostname.endsWith(connect[i])) {
+ if (connect[i] === "*" || url.hostname.endsWith(connect[i])) {
686
return true;
687
}
688
0 commit comments