Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Go to https://twitter.com/settings/muted_keywords
- 2. Open Chrome dev tools: ctrl+shift+i then go to Console tab
- 3. Paste the code below into console window, then hit enter:
- const keywords = `infosecdrama
- cancel culture
- So excited for my first defcon
- i did a thing
- hey hey you
- i dont know who needs to hear this
- i don't know who needs to hear this
- I'm so sorry that this happened
- Im so sorry that this happened
- techbro
- brocode
- brogrammer
- bro culture
- rock star
- rockstar
- Inclusive
- Inclusivity
- community
- rockstar
- literal
- nazi
- the left
- the right
- gatekeeping
- gatekeeper
- donglegate
- gamergate
- toxic
- sjw
- Literally
- patriarchy
- matriarchy
- misogynist
- misogyny
- misandrist
- misandry
- intersectionality
- marginalized
- sexism
- Gender stereotypes
- diversity
- trump
- hillary
- bernie
- biden
- brexit
- maga
- democrat
- republican
- wwg1wga
- coronavirus
- covid
- covid-19
- outbreak
- pandemic
- gender identity
- cisgender
- She/Her
- He/Him
- trans
- transphobia
- sexism
- whorephobic
- supremacist
- bigotry
- enby
- non-binary
- they/them
- fursona
- furries
- creeper
- creepy
- wannacry
- CISSP
- kevin mitnick
- dan kaminsky
- `.split("\n");
- const nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set;
- const addMutedKeyword = keyword => {
- const input = document.querySelector("[name='keyword']");
- nativeInputValueSetter.call(input, keyword);
- input.dispatchEvent(new Event('input', { bubbles: true }));
- document.querySelector("[data-testid='settingsDetailSave']").click();
- }
- const delay = () => {
- return new Promise(res => setTimeout(res, 500));
- };
- keywords.reduce(async (prev, keyword) => {
- await prev;
- document.querySelector("a[href='/settings/add_muted_keyword']").click();
- await delay();
- addMutedKeyword(keyword);
- return delay();
- }, Promise.resolve());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement