This file contains hidden or 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(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var i=n(1),o=r(i);new o["default"](prompt("enter api key",""))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),u=r(s),a=function(){function e(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];i(this,e),this.apikey=t,this.eventConfig=n,this.osr=new u["default"](this.apikey,this. |
This file contains hidden or 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:"use strict";!function(){function a(a){var b=a.pageConfigs.reduce(function(a,b){var c=b.pageInstances.reduce(function(a,b){var c=b.filters.map(function(a){return{name:b.instanceName,keyword:a.keyword,templateId:a.templates.osr,instanceId:b.id}});return a.concat(c)},[]);return a.concat(c)},[]);return{data:b,clientId:a.clientId}}var b=!1,c=setInterval(function(){return b===!0?clearInterval(c):void(window.__sco&&__sco.osr&&b===!1&&(b=!0,meld.around(__sco.management,"intersend",function(b){var c=b.args;"GET"===c[0]&&c[1].includes("osr")&&!function(){var b=c[3];c[3]=function(c){var d=c.target.responseText,e=JSON.parse(d),f=a(e).data,g=JSON.stringify(f,null,2),h=prompt("enter template id to render from\n\n"+g),i=f.filter(function(a){return a.templateId==h})[0];b({target:{responseText:d}}),meld.around(__sco.osr,"getActiveInstanceConfig",function(a){var b=__sco.osr.activePageConfig.pageInstances.filter(function(a){return a.id===i.instanceId}).pop();return __sco.osr.activePageConfig.splitTests={},__sco.osr. |
This file contains hidden or 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
| Accept:*/* | |
| Accept-Encoding:gzip, deflate, sdch, br | |
| Accept-Language:en-US,en;q=0.8 | |
| Cache-Control:max-age=0 | |
| Connection:keep-alive | |
| Host:d16fk4ms6rqz1v.cloudfront.net | |
| If-Modified-Since:Fri, 09 Sep 2016 20:08:39 GMT | |
| If-None-Match:W/"57d316c7-29145" | |
| Referer:https://shopping.ahs.com | |
| User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 |
This file contains hidden or 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
| @font-face { | |
| font-family: ProximaNovaBold; | |
| src: url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaBold.eot"); | |
| src: url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaBold.eot") format(embedded-opentype), url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaBold.woff2") format(woff2), url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaBold.woff") format(woff), url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaBold.ttf") format(truetype), url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaBold.svg#ProximaNovaBold") format(svg); | |
| font-weight: normal; | |
| font-style: normal; | |
| } | |
| @font-face { | |
| font-family: ProximaNovaRegular; | |
| src: url("https://cdn-salecycle.s3.amazonaws.com/images/fontlibrary/ProximaNovaReg.eot"); |
This file contains hidden or 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
| // throws error | |
| _scs('something that doesnt exist').length === 5; // => cannot read property length of null | |
| // won't throw | |
| (_scs('doesnt exist') || []).length === 5; // => false | |
| // more readable? less dry | |
| _scs('doesnt exist') && _scs('doesnt exist').length === 5; // => null |
This file contains hidden or 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
| // workaround for bluebird promise.props | |
| // too lazy to put in webpack or copy and paste that huge thing | |
| // iteraties through promise hash sync | |
| // this is so that we know which fetch response is from what source | |
| (function promiseProps(collection, acc, n, callback) { | |
| if (!collection[n]) | |
| return callback(acc); | |
| collection[n].get().then(res => { | |
| acc.push({ res, key: collection[n].key }); | |
| promiseProps(collection, acc, n + 1, callback); |
This file contains hidden or 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
| (() => { | |
| const origin = __sco.management.setsession; | |
| __sco.management.setsession = function(data) { | |
| let hasBasket = data.hasOwnProperty('b'); | |
| let clone = Object.assign({}, data, { | |
| b: { c: '', i: [], v: '' }, | |
| s: { i: '', m: '' } | |
| }); |
This file contains hidden or 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
| // ghostery fucks with POST requests as well as GET | |
| // adblocker screws with tons of stuff | |
| // this simply blocks the GET | |
| // needs to be in crx background with webRequest and webRequestBlocking in permissions | |
| var host = 'd16fk4ms6rqz1v.cloudfront.net'; | |
| var blocking = [ | |
| `verical.js` | |
| ]; |
This file contains hidden or 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
| var __store = []; | |
| (() => { | |
| var original = _scs; | |
| _scs = function() { | |
| var args = [].slice.call(arguments); | |
| var isBasic = !Array.isArray(args[0]) && typeof args[0] === 'string'; | |
| var params; |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"></meta> | |
| <style type="text/css">@charset "UTF-8";.fa-fw,.fa-li{text-align:center}.fa,.fitglyph{display:inline-block;-moz-osx-font-smoothing:grayscale}#sitenav>ul>li>a,h4{text-transform:uppercase}.errorList,.trackerModule .header,.trackerModule h3{word-wrap:break-word}.yui-skin-sam .yui-calendar,table{border-spacing:0;border-collapse:collapse}#stats table,table,table.dataEntry{border-collapse:collapse}.gf,.product,.slick-slider{-webkit-tap-highlight-color:transparent}@font-face{font-family:"Proxima Nova Regular";src:url(00e2fc72fb5ef844e5b551084c457860.eot);src:url(00e2fc72fb5ef844e5b551084c457860.eot#iefix) format("embedded-opentype"),url(9b6ce0ea9fc5423658c5fa4cb9e16371.woff) format("woff"),url(d49742d9b24301b494882b0826f16fd6.ttf) format("truetype"),url(58fb66bfe136dd3643b02ca104e34f90.svg#ProximaNovaRegular) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"Proxima Nova Light";src:url(b3a6ef6a985371fdb5230a87195b72f0.eot); |