chrisdepaul / RoyNoMoore

A Black Mirror-inspired browser extension that lets you block the names and faces of people you no longer want to see on the Internet.
1 stars 0 forks source link

Does not parse some websites #1

Open chrisdepaul opened 6 years ago

chrisdepaul commented 6 years ago

The extension works on sites like google and Wikipedia, but hasn't been able to parse CNN.com for instance.

chrisdepaul commented 6 years ago

Fixed using CreateTreeWalker

chrisdepaul commented 6 years ago

Still doesn't work on Facebook and parts of Twitter.

chrisdepaul commented 6 years ago

Works on Twitter, but not Facebook.

chrisdepaul commented 6 years ago

YouTube is using JSON throughout their website. https://www.reddit.com/r/javascript/comments/6x2txe/manipulating_the_new_youtube_layout/ youtube.github.io/spfjs/

This gets you to a video in a list: window.top.ytInitialData.contents.twoColumnSearchResultsRenderer.primaryContents.sectionListRenderer.contents