chandler-stimson / live-stream-downloader

Download M3U8 live streams to the local disk
https://webextension.org/listing/hls-downloader.html
201 stars 70 forks source link

Extension breaks LinkedIn #49

Open matthewmmorrow opened 5 months ago

matthewmmorrow commented 5 months ago

I think this has been happening since the release of 0.4.2. When I visit LinkedIn and log in, all the messages and content that is loaded via xhr/fetch is never displayed. When I disable the extension, everything works. This also seems to happen on one particular page of my bank website.

Not sure if this is related, but it looks like LinkedIn is trying to track which extensions are used. linkedin

This also seems to happen on one particular page of my bank website.

In both cases, the error is SyntaxError: Unexpected token 'o', "[object Blob]" is not valid JSON which seems to suggest that the extension is changing the response or maybe just the webpage is blocking the response because of the extension. Either way, it seems more related to the 0.4.2 update than both websites changing their code. Maybe something that changed is now letting it be detected or it's looking for a particular permission?

matthewmmorrow commented 5 months ago

Ok, I can confirm that if I download the code at 0.4.1 and load it as an unpacked extension, the downloader works and LinkedIn also works again. Could be the blob-detector

chandler-stimson commented 5 months ago

Thanks for the report. Since I'm not able to reproduce this, you need to play with the Blob Detector and see if you can find what is causing the issue: /plugins/blob-detector/inject

Also, please give the latest commit a try. I've made some changes that might help.