MCPcopy
hub / github.com/hoothin/UserScripts / getUrl

Function getUrl

Picviewer CE+/Picviewer CE+.user.js:28811–28818  ·  view source on GitHub ↗
(url, callback, onError)

Source from the content-addressed store, hash-verified

28809 };
28810
28811 function getUrl(url, callback, onError){
28812 _GM_xmlhttpRequest({
28813 method: 'GET',
28814 url: url.trim(),
28815 onload: callback,
28816 onerror: onError
28817 });
28818 }
28819
28820 function setSearchState(words, imgState){
28821 if (imgState) setHTML(imgState, words);

Callers 3

searchBaiduFunction · 0.70
searchGoogleFunction · 0.70
searchTineyeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected