Jaifroid

Results 1244 comments of Jaifroid

Issue also manifesting in the Chrome extension in ServiceWorkerLocal mode (as well as in Restricted mode). In SW-local mode, inline JS is blocked by the Chrome extension APIs, and so...

@THEBOSS0369 Although I opened this issue, mwOffliner isn't my Repo, so I don't unfortunately know anything about the npm errors you are experiencing. I just checked the latest 2024-10 ZIM...

> No I didn't fix it, I would have linked to this issue if I did. Possibly the output of mediawiki changed? Yes, I was sure you would have! So...

@audiodude I'm guessing your snapshot is taken after the included JS is run to remove `style="dispay: none;`. It certainly looks like something has removed whatever was in the `style` attributes...

I've opened [a separate issue](https://github.com/openzim/mwoffliner/issues/2096) for the problem mentioned in https://github.com/openzim/mwoffliner/issues/2074#issuecomment-2267617460. I confirm this exists in the latest `wikipedia_bm_all_nopic_2024-10.zim`.

Further info: These loads originate in the included script `startup.js`, where a couple of external URLs are hardcoded as prefixes: ![Image](https://github.com/user-attachments/assets/01afb748-51c9-4d35-aada-5cd394b28328)

@kelson42 I'm working from the Ray Charles test ZIM that @benoit74 kindly provided in #2263. That was around 3 weeks ago, so the issue would need to be verified in...

@kelson42 Thank you very much for making this ZIM so quickly! I'm still seeing this issue in console ☹️: ![Image](https://github.com/user-attachments/assets/e731d596-2570-4f61-8447-fef85aef5b42) All these calls are blocked by CORS in line 1067...

@benoit74 Yes, they're definitely loaded dynamically. But this also means a single URL rewrite is needed in `startup.js` at scrape time, if that's possible. A simple regex could find and...