admin 评论(0) 2021-01-11 JS
window.onload=function (){
var bqt = $('iframe[id^=iframeu]')[0].src;
console.log(bqt);
$.ajaxPrefilter(function (options) {
if (options.crossDomain && jQuery.support.cors) {
var http = (window.location.protocol === 'http:' ? 'http:' : 'https:');
options.url = http + '//cors-anywhere.herokuapp.com/' + options.url;
//options.url = "http://cors.corsproxy.io/url=" + options.url;
}
});
$.get(bqt,
function (response) {
console.log(response);
});
}
评论
    你来打破0评论