Skip to content

Commit

Permalink
update aliases for prevent-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Sep 12, 2024
1 parent 3b074a8 commit 0a0d590
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scriptlets/prevent-fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ export function preventFetch(source, propsToMatch, responseBody = 'emptyObj', re
preventFetch.names = [
'prevent-fetch',
// aliases are needed for matching the related scriptlet converted into our syntax
'prevent-fetch.js',
'ubo-prevent-fetch.js',
'ubo-prevent-fetch',
'no-fetch-if.js',
'ubo-no-fetch-if.js',
'ubo-no-fetch-if',
Expand Down

0 comments on commit 0a0d590

Please sign in to comment.