This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Visit https://www.youtube.com/subscription_manager | |
| let vals = []; | |
| Array.from(document.getElementsByClassName("yt-uix-subscription-notifications-all")).forEach((bellicon) => { | |
| vals.push(bellicon.parentNode.parentNode.parentNode.childNodes[0].childNodes[0].childNodes[0].getAttribute("href").replace("/channel/", "")/*replace first instance*/); | |
| }); | |
| vals | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1 | |
| function getcaptcha(digits){ | |
| let count = 0; | |
| digits.split("").forEach((digit, i,ds) => { | |
| let nextDigit = ds[i+1] || ds[0]; | |
| if(digit == nextDigit) count += parseInt(digit, 10); | |
| }); | |
| return count; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const wm = require('./api/windowman.js'); | |
| console.log(wm); | |
| var window = new wm.Window("My window"); |
NewerOlder