Log in

No account? Create an account
entries friends calendar profile Elf Sternberg's Pendorwright Projects Previous Previous Next Next
Adless: Seedless for Twitter - Elf M. Sternberg
Adless: Seedless for Twitter

Following up on Seedless, I present Adless: a Tampermonkey extension that looks for the [Dismiss] button on your Twitter feed’s promoted items and pushes it for you:

function adless() {
  var stats = document.querySelectorAll('.dismiss-promoted');
  var lines = [];
  for(var i = 0, l = stats.length; i < l; ++i) { 
  lines.forEach(function(a) {
    var e = document.createEvent("MouseEvents");
    e.initEvent('click', true, true);
  setTimeout(adless, 1000);

setTimeout(adless, 500);
Leave a comment