Thomas

Results 221 comments of Thomas

@snshn Yes, they don't load. This is then reflected in the Network panel - The CSS file in question was several megabytes and so the data URL didn't work. The...

@snshn Modern chrome 😅 (120 I think). You can embed the string in JavaScript then create a blob URL though if it's too long, e.g: `img.src = new URL.createObjectURL(new Blob([data...

@snshn Your project seems a lot like [SingleFile](https://github.com/gildas-lormeau/singlefile), you could see how they do it

@snshn For all styles and scripts you can simply inline them using script and style tags instead of link/script[src]. This should solve the issue most of the time, for images...

Yeah, it's here: https://github.com/RSS-Bridge/rss-bridge/blob/683c968d646dbaf9719a1ef7b59797240fec7617/bridges/CssSelectorComplexBridge.php#L194 I just don't know how to find and replace a string in php or iterate over an array

I think that would be cool. Also don't use ```transition-duration: 0.3s;``` or whatever. Instead specify what to transtition like this: ```css * { transition: color 0.5s, background-color 0.5s, box-shadow 0.5s;...

@kgarner7 I've fixed 2.i and 2.ii just now (will push in a few), also mediaSession play pause seems to work fine for me. I'll push in just a sec

🤦🏻 Didn't even see use-center-controls.ts lol Could it maybe not be working due to the `isElectron()` call?

The issue with electron vs web might be due to BrowserWindow instead of BrowserView: https://github.com/electron/electron/issues/31448#issuecomment-1002980034

Using use-center-controls isn't setting `navigator.mediaSession` at all =/ (I commented out my code when testing this)