by

KachingFetch.js  get it boy! woof!  good dog....

I modeled it after jquery's "getScript" only better.... cause it caches!!!
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/218110/KachingFetch-js--get-it-boy!-woof!--good?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
// caching script fetcher // var futrs = {}; var ajaxFetch = function( url, cBak ) { if ( !futrs[ url ] ) { futrs[ url ] = $.Deferred(function( defer ) { $.getScript( url ) .then( defer.resolve, defer.reject ); }).promise(); } return futrs[ url ].done( cBak ); }; /*-----------------------------------------------------------------------*/ // << use it! >> ajaxFetch('//totalPorn247.com/freeVideos/Tits+Ass?=199BOOBzInVIEW.js', cBak); function cBak(resp) { if(resp.length > 0) { var dd = document.querySelector('#resultDiv'); dd.innerHTML = renderDirtyWords(a, z, 125); } }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus