Skip to content

Instantly share code, notes, and snippets.

@psteinweber
Last active August 29, 2015 13:56

Revisions

  1. psteinweber renamed this gist May 23, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. psteinweber revised this gist Feb 7, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions detect-android.js
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,6 @@ if( ua.indexOf("Android") >= 0 )
    var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8));
    if (androidversion < 2.3)
    {
    $('.stamp-border').css('display','none');
    $('.stamp-border-lg').css('display','none');
    $('.class').css('display','none');
    }
    }
  3. psteinweber created this gist Feb 7, 2014.
    10 changes: 10 additions & 0 deletions detect-android.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    var ua = navigator.userAgent;
    if( ua.indexOf("Android") >= 0 )
    {
    var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8));
    if (androidversion < 2.3)
    {
    $('.stamp-border').css('display','none');
    $('.stamp-border-lg').css('display','none');
    }
    }