jQuery check external link

后端 未结 3 363
醉酒成梦
醉酒成梦 2020-12-21 15:12

Using Javascript or jQuery, how can I check if an external link is available?

An $.ajax() call is not available as it violates SOP (same problem as her

3条回答
  •  太阳男子
    2020-12-21 15:59

    You could use YQL to check if a URL is available via its JSONP interface.

    YQL Console.

提交回复
热议问题