document.body.innerHTML = document.body.innerHTML.replace(/hello/g, ‘hi’);
NGワードリストをCSV,ローカルストレージなんかに置いといて,for in
したのをユーザースクリプトに置いとくと幸せになれる.
References:
https://stackoverflow.com/questions/5558613/replace-words-in-the-body-text
document.body.innerHTML = document.body.innerHTML.replace(/hello/g, ‘hi’);
NGワードリストをCSV,ローカルストレージなんかに置いといて,for in
したのをユーザースクリプトに置いとくと幸せになれる.
References:
https://stackoverflow.com/questions/5558613/replace-words-in-the-body-text