Skip to content

Instantly share code, notes, and snippets.

View asprouse's full-sized avatar

Andrew Sprouse asprouse

  • New York
View GitHub Profile
@asprouse
asprouse / adblock-analytics.html
Created July 29, 2015 16:51
FairTread AdBlock Analytics
<script>
!function(a,b,c,d){var e=a[a.GoogleAnalyticsObject],f=!!e;f||(!function(c,d,e,f,g){a.GoogleAnalyticsObject=e,a[e]=a[e]||function(){(a[e].q=a[e].q||[]).push(arguments)},a[e].l=1*new Date,f=b.createElement(c),g=b.getElementsByTagName(c)[0],f.async=1,f.src=d,g.parentNode.insertBefore(f,g)}("script","//www.google-analytics.com/analytics.js","ga"),e=a[a.GoogleAnalyticsObject]),e("create","UA-46472229-3","auto",{name:"fairTread"}),e("fairTread.send","pageview");var g=function(b){this._options={checkOnLoad:!1,resetOnEnd:!1,loopCheckTime:50,loopMaxNumber:5,baitClass:"pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links",baitStyle:"width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;"},this._var={version:"3.1.1",bait:null,checking:!1,loop:null,loopNumber:0,event:{detected:[],notDetected:[]}},void 0!==b&&this.setOption(b);var c=this,d=function(){setTimeout(function(){c._options.checkOnLoad===!0&&(
@asprouse
asprouse / timber-link.js
Created July 31, 2018 21:10
Timber Link Generator