CodingSince007
CodingSince007

Reputation: 13

Share this javascript blocked in private mode firefox

I was doing a test for some responsive coding on a website that uses Ektron, for all you Ektron wizards out there but the issue that I was noticing is in private mode. We use something called Share This which allows for instant social media sharing but then there are 2 icons one for facebook and one for twitter and those icons are hidden like the JS is being blocked because the CSS is still showing on the page for each of those classes.

Why would this be blocked in private mode in Firefox?

Unstripped version of the code:

  <div class="event_social">            
   <a href="javascript:void(0)" class="st_sharethis_custom" st_via="website" st_processed="yes">Share</a>
   <span class="st_facebook" st_via="website" st_processed="yes"><span style="text-decoration: none; color: rgb(0, 0, 0); display: inline-block; cursor: pointer; padding-left: 0px; padding-right: 0px; width: 16px;" class="stButton"><span class="chicklets facebook">&nbsp;</span></span></span>
    <span class="st_twitter" st_via="website" st_processed="yes"><span style="text-decoration: none; color: rgb(0, 0, 0); display: inline-block; cursor: pointer; padding-left: 0px; padding-right: 0px; width: 16px;" class="stButton"><span class="chicklets twitter">&nbsp;</span></span></span>
    <span class="st_email" st_processed="yes"><span style="text-decoration: none; color: rgb(0, 0, 0); display: inline-block; cursor: pointer; padding-left: 0px; padding-right: 0px; width: 16px;" class="stButton"><span class="chicklets email">&nbsp;</span></span></span>
    </div>

Stripped version of the code:

    <div class="event_social">
        <a href="javascript:void(0)" class="st_sharethis_custom" st_via="website">Share</a>
        <span class="st_facebook" st_via="website"></span>
        <span class="st_twitter" st_via="website"></span>
        <span class="st_email"></span>         
     </div>

Anyone run into any issues like this before?

Upvotes: 0

Views: 366

Answers (0)

Related Questions