Hacker News new | ask | show | jobs
by TekMol 765 days ago
Does it work? Looking at the code, the regex it uses to find the urls seems to be:

    document.documentElement.innerHTML.match(/https?:\/\/[^\s/$.?#].[^\s]*videoplayback(?:\?|%3F)[^'"]+/g)
Tried this on two videos and it returned null both times.
1 comments

Hmm, I'm not the creator of it, but yes it's been working for me. I would have thought a regex match would be pretty universal. I'm using a chromium based browser if that matters. Here's what I see when I use it: https://i.imgur.com/7eS132D.png
I tried in FireFox and Chromium on Linux, and get no matches in both browsers.

On Windows in Chrome, it indeed works.