No Coronavirus 的評論
No Coronavirus 作者: Daggron
8 筆評論
- 評價 5 分,滿分 5 分來自 Sarhan Dadier,5 年前Отличное дополнение. Мне тоже надоедо видеть информацию о вирусе на всех сайтах. Автору спасибо!
- 評價 3 分,滿分 5 分來自 Display Name *,5 年前
- 評價 1 分,滿分 5 分來自 Firefox 使用者 11323234,5 年前Works okay, but it only censors the word, it doesn't do anything else than that. It also doesn't censor covid-19 and it also has been blocking words that start with co, like "community" or "cover". Only would recommend if you have a weird fear of the word; coronavirus.
開發者回應
張貼於 5 年前Hey, We have added new testcases and the new version is updated now it blocks covid-19 and this bug is fixed - 評價 5 分,滿分 5 分來自 Koob parcs,5 年前Excellent addon, a simple JavaScript that replace Corona related words by ░░█▒ █▒▒ █▓▓░.
Here is the code source from https://github.com/Daggron/No-coronavirus :
replaceText(document.body);
function replaceText(element) {
if (element.hasChildNodes()) {
element.childNodes.forEach(replaceText)
} else if (element.nodeType === Text.TEXT_NODE) {
element.textContent = element.textContent.replace(/coronavirus|CoV-2|[cC][oO][vV][iI][dD]\-19|[sS][aA][rR][sS]|[cC][oO][rR][oO][nN][aA][vV][iI][rR][uU][sS]|[cC][oO][rR][oO][nN][aA]|[vV][iI][rR][uU][sS]|[cC][oO][vV][iI][dD]|[sS][aA][rR][sS]\-[cC][oO][vV][iI][dD]\-19|[sS][aA][rR][sS]\-[cC][oO][vV][iI][dD]\-19\-2|[sS][aA][rR][sS]\-[cC][oO][vV]\-2|2019\-[nN][cC][oO][vV]|CoV/gi, '░░█▒ █▒▒ █▓▓░');
}
}開發者回應
張貼於 5 年前Thanks we have already submitted the new version for review it will be rolling out soon