Skip to content

Instantly share code, notes, and snippets.

(function () {
try {
var orcWidth = parseInt(window.location.search.match(/width=(\d+)/)[1], 10);
var orcHeight = parseInt(window.location.search.match(/height=(\d+)/)[1], 10);
var hasFailed = window.location.search.match(/oswidthheight=(\w+)/);
if (hasFailed && hasFailed.length) {
console.log('ignore width height verification because it has failed once before');
return;
}