This part of the code needs to be tweaked so it admits https.
It would be cool to add a better verification method, since this split is not very elegant.
var s = window.location.toString().split('http://boards.4chan.org/b/res/')
if(s.length!=2){
alert("this is not a valid 4chan thread.");
return;
}
This part of the code needs to be tweaked so it admits https. It would be cool to add a better verification method, since this split is not very elegant.