Skip to content

Instantly share code, notes, and snippets.

@scottopell
Created September 2, 2017 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottopell/f535b7d4259e21cdfb1665a6b3b81fb5 to your computer and use it in GitHub Desktop.
Save scottopell/f535b7d4259e21cdfb1665a6b3b81fb5 to your computer and use it in GitHub Desktop.
DirectTV Now FreeVIEW filter out subscriber only shows

DirectTV Now added a FreeVIEW thing where you can watch some tv shows for free, but they don't show you only the shows that are available on "FreeVIEW", because that would be too convenient.

Luckily, they helpfully mark these subscriber only shows with a badge on the /watch/shows endpoint.

Here's a bookmarklet to hide the subscriber only shows.

javascript:document.querySelectorAll("[data-label='SUBSCRIBE']").forEach( (el) => { el.parentNode.parentNode.parentNode.parentNode.style.display = 'none'; });

Pretty fragile and will probably break whenever they update the style of their site significantly, but should also be easy to fix assuming they keep the same general structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment