Skip to content

I am completely destroyed ko dislocated : it is impossible to delete blocklist in icon.js and core.js of Live stream downloader !!! #1

@trimechee

Description

@trimechee

Hello, I know this is off topic mais we konw great Mr @Alex313031 is so generous charitable !

alos let's remember i have old weak eee pc so watching streaming video often lags with SD and HD videos ......

So today, I discovered a crucial secret:

I was happy and proud. I thought I am become an expert in code manipulation because I managed to clear LSD's blocklist in network/v3/blocked.json!

But I noticed something strange: Live Stream Downloader turns red when I visit YouTube, and LSD refuses to download audio dash from YouTube.

So I contacted Mr. Chandler to explain to me this mystery because I deleted the blocklist and LSD is supposed to download YouTube videos, and Mr. Chandler revealed this crucial secret to me:

"The extension updates block list once per while;" in icon.js.

https://github.com/chandler-stimson/live-stream-downloader

I am completely destroyed, ko dislocated!!!

I took a look at the contents of icon.js to see if I can clear the blocklist, but the code is so complicated, and I don't know what to delete to clear the blocklist. I also suspect that core.js may also contain the blocklist code!

I have a life-saving request to the generous, charitable great hero Mr Alex313031 please :

so in chrome and firefox I use LSD because I can download vidmoly videos without playback and I need to delete the blocklist of LSD because maybe in the future, Vidmoly will be added to the blocklist, and I need reassurance.

So my request, please: since the blocklist code in icon.js is so complicated and I don't know what to delete exactly to remove the blocklist, could you please send me the contents of icon.js and core.js, purified from the blocklist contents please?

Thanks a lot :)

Update:

aieeee, just now my fears are confirmed. I took a look at core.js and saw these blocklist settings :(

I think the best thing please is the hero Mr Adeii offers to humanity a regulary updated fork of Live Stream Downloader extension by removing all the blocklist-related settings. Thanks!

:

/* do not allow downloading from blocked resources

two types:
block same-origin streams on a host: {"type": "host", "value": ".youtube.com"}
block streams on selected hosts: {"type": "stream", "value": ".gstatic.com", "hosts": ["*"]}
*/
network.blocked = () => network.hosts().then(a => {
// Currently only supports "host" and "stream" types
const hosts = a.filter(o => o.type === 'host');
const streams = a.filter(o => o.type === 'stream');

return d => {
// block same-origin streams for blocked hosts
if (d.host) {
for (const o of hosts) {
if (d.host.includes(o.value) && d.host.split(o.value)[0].split('/').length === 3) {
if (d.stream.includes(o.value)) {
return {
value: true,
reason: Downloading from "${o.value}" host is blocked
};
}
}
}
}
// block streams on defined hosts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions