Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
148 views
in Technique[技术] by (71.8m points)

javascript - New Facebook Pending Post Script

Can i request script for delete pending post in facebook group on new updates? before faceboo updates i using this script for delete my pending post automaticly, but now how i can find the key/class like ".g0qnabr5" ? good news new facebook doesnt need the confirm layer to delete post but i still cant find the code to delete pending post

function deleteButtons() {
    var recusar = document.querySelectorAll('.g0qnabr5');
        recusar.forEach(btn => btn.click());
};

function confirmdelete() {
        //button 'Delete' to confirm delete this post 
    var excluir = document.querySelectorAll('.layerConfirm'); 
        excluir.forEach(btn => btn.click());
};    

function confirmcancel() {
        //button 'oke' to confirm delete this post 
    var excluir = document.querySelectorAll('.layerCancel'); 
        excluir.forEach(btn => btn.click());
};   
 
var interval_del = setInterval( deleteButtons, 10000);
var interval_confirm = setInterval( confirmdelete, 5000);
var interval_cancel  = setInterval( confirmcancel, 5000); //experimental
var interval_bottom_page = setInterval( function () { window.scrollTo(0,document.body.scrollHeight) }, 10000); ;
question from:https://stackoverflow.com/questions/65645738/new-facebook-pending-post-script

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...