Skip to content

Commit 2f0f9e0

Browse files
authored
Update contentScript.js
1 parent d66fe58 commit 2f0f9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: contentScript.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let cussWords = [];
22

3-
// Function to fetch and parse cuss words from CSV
3+
// Function to fetch and parse cuss words from CSV file.
44
function fetchCussWords() {
55
return fetch(chrome.runtime.getURL("cuss_words.csv"))
66
.then(response => {
@@ -18,7 +18,7 @@ function fetchCussWords() {
1818
});
1919
}
2020

21-
// Function to apply a blur effect to cuss words
21+
// Function to apply a blur effect to the cuss words
2222
function blurCussWords(textNode) {
2323
cussWords.forEach(word => {
2424
const regex = new RegExp(`\\b${word}\\b`, 'gi');

0 commit comments

Comments
 (0)