This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error_reporting(E_ALL); | |
ini_set('display_errors', 'On'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { function d() { window.alert("Sorry, the report is unable to run.") } var a = document.createElement("script"); a.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"); a.setAttribute("id", "iprReportQuery"); document.getElementsByTagName("head")[0].appendChild(a); var b = 0; var c = setInterval(function () { var a = document.getElementById("iprReportQuery"); window.console.log(a); var e = typeof a == "undefined"; if (!e) { var f = jQuery.noConflict(true); var g = typeof f == "undefined"; window.console.log(f); if (!g) { clearInterval(c); window.console.log("jQuery " + f.fn.jquery + " has been injected."); f(document).ready(function (a) { var description = a('meta[property|="og:description"]').attr('content') || ''; console.log('description is ' + description); var title = a('meta[property|="og:title"]').attr('content') || ''; console.log('title is ' + title); var image = a('meta[property|="og:image"]').attr('content') || ''; console.log('image is ' + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function throttle( fn, time ) { | |
var t = 0; | |
return function() { | |
var args = arguments, ctx = this; | |
clearTimeout(t); | |
t = setTimeout( function() { | |
fn.apply( ctx, args ); | |
}, time ); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |