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