News for hackers. Stuff that matters.
Re:Show HN: Facebook Page Unliker by baby on Saturday January 10, 2015 @07:51AM (#8866667)
I'm trying to make a script to uncheck them all, something like this :

    javascript:var x=document.getElementsByTagName("button");for(var i=0;i<x.length;i++) {if (x[i].type == 'submit') {x[i].click();}}; alert('Done');
Not working though...
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:23AM (#8866704)
Yeah, I tried the same thing. Facebook uses iFrames for rendering their Like buttons, so its impossible to automate the clicking of them. :/
Re:Show HN: Facebook Page Unliker by kyriakos on Sunday January 11, 2015 @02:13PM (#8870893)
Its possible using phantomjs but I am not sure I want to go through the effort.
Re:Show HN: Facebook Page Unliker by baby on Saturday January 10, 2015 @08:24AM (#8866710)
Oh, that explains why!
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:27AM (#8866717)
Its unfortunate. :/ But, using this I found it wasn't too bad to scroll down and quickly unlike everything.