Skip to content

Instantly share code, notes, and snippets.

@coodix
Created September 3, 2016 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coodix/04e6f8db1a68cc815406320ac27ae3c9 to your computer and use it in GitHub Desktop.
Save coodix/04e6f8db1a68cc815406320ac27ae3c9 to your computer and use it in GitHub Desktop.
Yandex Webmaster mass URLs removal
setInterval(function() {
var e = urls.pop();
if (e) {
console.log(e);
$('#uniq1472745500789286316').val(e);
$('button[type=submit]').click();
}
}, 3000);
var urls = ["http://cleanstore.ru/shopping_cart?product_id=222",
"http://cleanstore.ru/shopping_cart?product_id=39",
"http://cleanstore.ru/shopping_cart?product_id=66",
"http://cleanstore.ru/shopping_cart?product_id=159"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment