Replace CMPortugal certain users' commentaries with random facts
- Set the browser to developer mode (if applicable);
- Install TamperMonkey extension from Extensions store;
- Add new script;
- Open "comment-replace.js" in GitHub;
- Click on "Raw";
- Copy all content;
- Paste in TamperMonkey's script editor;
- Save (CTRL+S);
- Done!
- Edit script in TamperMonkey;
- In the variable
const userList = ['Sima01']inside the brackets add,'userName'for each user you pretend to block. - Save (CTRL+S);
- Done!
- Edit script in TamperMonkey;
- In the variable
const quoteType = 'facts'change the value to any of the followingfacts/aleixo/renato/senhorPe/beatriz/inspirational/jokes/biblia/memes/capybaraFacts/capybaraImages; - Save (CTRL+S);
- Done!
- Edit script in TamperMonkey;
- In the variable
const replaceUserName = true;change the value totruefor replacing the username orfalseto keep the original username; - If you want to change the name, in the variable
const newUserName = 'Sr. Vitor';change the valueSr. Vitorto the name you pretend to see; - Save (CTRL+S);
- Done!