Skip to content

Instantly share code, notes, and snippets.

@dvygolov
Created August 21, 2019 16:55
Show Gist options
  • Save dvygolov/fe5f3046f9d1be23b475c9dea5543b6a to your computer and use it in GitHub Desktop.
Save dvygolov/fe5f3046f9d1be23b475c9dea5543b6a to your computer and use it in GitHub Desktop.
javascript: (function () {
var l="https://www.facebook.com/help/contact/186912391909649";
if (location!=l) window.open(l,"_blank");
var adid = prompt("Введите id объявления", "");
var adInput=document.getElementsByName('crow_object_id')[0];
adInput.value=adid;
var caseNumber=document.getElementsByName('case_number')[0];
caseNumber.value=Math.floor(Math.random() * 100);
var description=document.getElementsByName('issue_description')[0];
description.value=Math.floor(Math.random() * 100);;
var btn=document.querySelector('button[type="submit"]');
btn.click();
})();
@vlad313131
Copy link

516152679159787

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment