Greasy Fork is available in English.

Twitter REMOVE from feed: Who to Follow, Topics to Follow, and Promoted Tweets

Remove Who to Follow and Topics to Follow

< Rückmeldungen auf Twitter REMOVE from feed: Who to Follow, Topics to Follow, and Promoted Tweets

Rezension: Gut - Skript funktioniert

§
Veröffentlicht: 09.07.2021
Bearbeitet: 09.07.2021

Great script, thank you! I made some improvements, you could add if you'd like:

I added a bit that removes, the "Follow Topic" suggestions.

$( "span:contains('Follow Topic')" ).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().remove();

I also changed how the function is called, first I removed the infinite loop, of the gtfo() function

console.log('removed');
//Delay
setTimeout(function(){}, 250);

And added a bit that calls the function when you scroll, I kept the initial call after 1 second.

$( window ).scroll(function() {
  gtfo();
});

This works great and you don't see any ads or suggestions even if you scroll quickly and the function isn't called all the time, so it's a bit lighter on the CPU.

Hope this helps!

visualplastikVerfasser
§
Veröffentlicht: 02.09.2021

Smart, thanks

visualplastikVerfasser
§
Veröffentlicht: 01.09.2022

Implemented the run on scroll, I don't see follow topic that often so I didn't add that yet. Thanks!

Antwort schreiben

Anmelden um eine Antwort zu senden.