Update bookmarklet.js
This commit is contained in:
parent
08abe28b3c
commit
67f589933f
@ -1292,6 +1292,19 @@ body {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function httpGet(url){
|
||||||
|
var response;
|
||||||
|
jQuery.ajax({
|
||||||
|
url: 'https://jsonp.afeld.me/?url=' + url,
|
||||||
|
success: function (data) {
|
||||||
|
result = data
|
||||||
|
},
|
||||||
|
async: false
|
||||||
|
});
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function multilineString(commentFunction) {
|
function multilineString(commentFunction) {
|
||||||
return commentFunction.toString()
|
return commentFunction.toString()
|
||||||
.replace(/^[^\/]+\/\*!?/, '')
|
.replace(/^[^\/]+\/\*!?/, '')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user