Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // http://forum.oogiri.biz/board/subback.html
- var threads = document.querySelectorAll('body > font:nth-child(1) > a');
- for (var i = 0, counts = 0; threads[i]; i++) {
- if (threads[i].innerHTML.match(/ \((\d{2,})\)/) && threads[i].innerHTML.match(/ \((\d{2,})\)/)[1] > 50) {
- console.log(threads[i].innerHTML, ++counts);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement