aboutsummaryrefslogtreecommitdiffstats
path: root/youtube-turn-off-annotations.user.js
AgeCommit message (Collapse)Author
2018-07-28Remove commented interval code & console.logsTeddy Wing
2018-07-28Click the "settings" gear icon to populate settings menuTeddy Wing
It turns out the settings pop-up menu isn't populated at page load. Now that I think about it, this makes sense because different videos are going to have different options available. I think. We can force the settings menu to load by clicking the gear icon twice, opening then closing the settings pop-up menu. Following this, the annotation menu item element will exist and we can click it to disable annotations. We don't even need the interval any more.
2018-07-28Move annotation shutoff code into intervalTeddy Wing
Still not working, just an idea while figuring out what's going on & how to get access to the menu item.
2018-07-28Use an interval to try to wait for the element's presenceTeddy Wing
Still not finding the annotation menu element.
2018-07-28First try deactivating annotationsTeddy Wing
The XPATH appears to be right, but the element isn't present.