Closed Phaqui closed 4 months ago
As explained per email, this happens because of a web security feature, called CSP. It prevents websites from running code from other domains, unless explicitly specified to do so. This means that for us, we have to create a different solution, which in practice probably means writing a browser plugin, with all the challenges that entails.
https://github.com/giellatekno/neahttadigisanit/commit/742224ba2267fd342ce77599d0dd6534d8697974 adds a notice to the reader page that it may not work on some sites.
The message has not been localized.
It now seems Reader does not work at all. These pages have always worked https://incubator.wikimedia.org/wiki/Wp/fit/Pello,_Matarenki https://se.wikipedia.org/wiki/Port%C3%A1la:Ovdasiidu
I know some web pages are overcareful and block us, but Wikipedia?
Wikipedia doesn't block reader in the same way that YLE does, so it should work.
After some digging, I found something that made it crash. Commit 3edd1d040fc8c1114a2770d613a391e8d35f5177 should fix it. Can you confirm? Only sanit and sanat has been updated.
Added "wontfix" label, because we cannot make any changes in the code that will make reader work on YLE, because they block external scripts, as already noted.
From email (finnish):
Could not use Reader in any of those sites. The question asked is if this is a Reader-bug, or something related to YLE's pages.