User talk:IagoQnsi/ipareader

(Redirected from User talk:IagoQnsi/ipareader.js)
Latest comment: 3 years ago by IagoQnsi in topic Space

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