Note that there are some explanatory texts on larger screens.

plurals
  1. POOnline JSONP converter/wrapper
    primarykey
    data
    text
    <p>I would like to fetch a source of file and wrap it within <a href="http://en.wikipedia.org/wiki/JSONP#JSONP" rel="nofollow noreferrer">JSONP</a>.</p> <p>For example, I want to retrieve <a href="http://elv1s.ru/x/pets.txt" rel="nofollow noreferrer">pets.txt</a> as text from a host I don't own. I want to do that by using nothing but client-side JavaScript.</p> <p>I'm looking for online service which can convert anything to JSONP.</p> <hr> <h2>YQL</h2> <p><a href="http://developer.yahoo.com/yql/" rel="nofollow noreferrer">Yahoo Query Language</a> is one of them.</p> <p><code>http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D"http://elv1s.ru/x/pets.txt"&amp;format=json&amp;callback=grab</code></p> <p>This works if URL is not blocked by robots.txt. YQL have <a href="http://developer.yahoo.com/yql/provider/" rel="nofollow noreferrer">respect to robots.txt</a>. I can't fetch <a href="http://userscripts.org/scripts/source/62706.user.js" rel="nofollow noreferrer">http://userscripts.org/scripts/source/62706.user.js</a> because it blocked via <a href="http://userscripts.org/robots.txt" rel="nofollow noreferrer">robots.txt</a>.</p> <p><code>http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D"http://userscripts.org/scripts/source/62706.user.js"&amp;format=json&amp;callback=grab</code></p> <blockquote> <p>"forbidden":"robots.txt for the domain disallows crawling for url: <a href="http://userscripts.org/scripts/source/62706.user.js" rel="nofollow noreferrer">http://userscripts.org/scripts/source/62706.user.js</a>"</p> </blockquote> <hr> <p>So I'm looking for another solutions.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload