Jump to content

M.O.S. Studios

  • Posts

  • Joined

  • Last visited

Community Answers

  1. M.O.S. Studios's post in Ajax on safari was marked as the answer   
    Got it working
    function UrlWorks(instaUrl){     var url = '../' + instaUrl.split('.com/p/').pop().toLowerCase();       jQuery.ajax({         url: url,         datatype: 'text',         type: 'Get',         success: function(){window.location.href = url},         error: function(){window.location.href = instaUrl}     }); }   $('a.sbi_photo[href]').each(function() {     var $t = $(this);     var newHref = $t.attr('href');     $t.removeAttr( "href" );     $t.click(function(){UrlWorks(newHref);}); });
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.