Jump to content

User talk:IagoQnsi/ipareader

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Thank you!

[edit]

Thanks for making this, really makes it much easier for me. ɱ (talk) 19:52, 31 August 2020 (UTC)[reply]

Script not working?

[edit]

Last month the script was working, but now when I press the button no sound is made. Any ideas? — Yours, Berrely • TalkContribs 15:16, 15 November 2020 (UTC)[reply]

@Berrely: If you use an ad blocker, you will likely see "net::ERR_BLOCKED_BY_CLIENT" (meaning your browser) in the developer console. Seems it doesn't like requests to Amazon's AWS domain. Disabling my ad blocker for Wikipedia fixed it for me. Opencooper (talk) 08:11, 17 February 2021 (UTC)[reply]

Space

[edit]

@IagoQnsi: Thanks for making this script. I experimented doing this using TTS, but the results were not good.

Please add a space before the speaker symbol. Right now, it hits the right slash of the IPA.

I might also recommend adding a title attribute to the button so its clearer where the audio is coming from.

P.S. I was always under the assumption that we couldn't make cross-domain requests in userscripts due to CORS, but works fine here; very interesting. Opencooper (talk) 08:19, 17 February 2021 (UTC)[reply]

@Opencooper: I've added title text and some space on the left (although I didn't have the visual bug you described -- probably depends on your system's emoji font) -- good suggestions! The cross-origin request works because the server includes a access-control-allow-origin: * header, which disables CORS protections. Cheers, IagoQnsi (talk) 19:18, 19 February 2021 (UTC)[reply]