On Thu, Apr 16, 2020 at 2:56 PM Huji Lee huji.huji@gmail.com wrote:
Oops, I don't know how I pressed the Send button, sorry!
When I run something like this from the console, I get a CORB error:
$.ajax({url: 'https://whois.toolforge.org/whois/8.4.4.8/lookup/json%27%7D).done(function(d...)
Yet I know there are some tools on labs that are being referenced through JS.
The CORS error [0] would be related to the lack of a "Access-Control-Allow-Origin: *" header in the response from the Toolforge side. I don't see an access control header from either of https://whois.toolforge.org/whois/8.4.4.8/lookup/json or https://tools.wmflabs.org/whois/8.4.4.8/lookup/json.
Is this a regression you are seeing from using the tools.wmflabs.org URL to access the tool or just a general question?
[0]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
Bryan