Skip to content

Commit

Permalink
Undo short circuit regex check
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMatase committed Dec 1, 2024
1 parent 5bf52fb commit 12a9168
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ let previousUrl = '';
const observer = new MutationObserver(function (mutations) {
if (location.href !== previousUrl) {
previousUrl = location.href;
if (!urlRegexp.test(location.href)) {
return;
}

console.log(
`URL changed to ${location.href}, triggering chainlink content script`,
Expand Down

0 comments on commit 12a9168

Please sign in to comment.