Skip to content

Commit

Permalink
Inject attempt round 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLollo21 authored Aug 31, 2021
1 parent 33c515b commit 9a9965e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inject/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ chrome.extension.sendMessage({}, function(response) {
}

function generateReplacment(text) {
var regex1 = /algebra/gi;
return text.replace(regex1, getName()).replace("algebra", "Al-Jazeera");
var regex1 = /algebra/;
return text.replace(regex1, replace("algebra", "Al-Jazeera"));
}

});

0 comments on commit 9a9965e

Please sign in to comment.