SimplePortal

Social => General Discussion => Topic started by: gmc on March 30, 2016, 10:00:35 PM

Title: class tags being added to SOME images in block with Firefox only??
Post by: gmc on March 30, 2016, 10:00:35 PM
I've been a user of SimplePortal for a while now...

I'm having a problem with what should be one of my simplest uses.
I have a SP Block defined as 'Custom PHP' (most of my blocks are...)
Within is now only normal html code outside of the <?php ?> tags to display links and images. (I removed anything special to try to debug)

Three of the img tags are having class information added to them only under Firefox. I cannot recreate the issue with IE or Chrome.

Here is some of the code from the SP Block:


Code: [Select]
?>

<p><hr>
More Skymasters Information:<br>
<table><tr>
<td><center>
  <a href="http://www.facebook.com/skymastersrc" target="_blank">
  <img src="./data/graphics/icons/facebook.jpg" alt="Facebook" >
  <br />Facebook</a>
</td><td><center>
  <a href="http://www.youtube.com/channel/UCdu3Uxk4_uyKrr1hvhhus4A" target="_blank">
  <img src="./data/graphics/icons/youtube.jpg" alt="YouTube" >
  <br />YouTube</a>
</td><td><center>
  <a href="./data/rss/skymasters.xml">
  <img src="data/graphics/icons/rss.jpg" alt="RSSFeed" >
  <br />RSS</a>
</td>
</tr></table>

<?php 


Simple - right?
Here are the results:

Firefox Source:
Code: [Select]
<hr>
More Skymasters Information:<br>
<table><tbody><tr>
<td><center>
  <a href="http://www.facebook.com/skymastersrc" target="_blank">
  <img class="gfdoyaoidcidmcglfcpo" src="./data/graphics/icons/facebook.jpg" alt="Facebook">
  <br>Facebook</a>
</center></td><td><center>
  <a href="http://www.youtube.com/channel/UCdu3Uxk4_uyKrr1hvhhus4A" target="_blank">
  <img class="gfdoyaoidcidmcglfcpo" src="./data/graphics/icons/youtube.jpg" alt="YouTube">
  <br>YouTube</a>
</center></td><td><center>
  <a href="./data/rss/skymasters.xml">
  <img src="data/graphics/icons/rss.jpg" alt="RSSFeed">
  <br>RSS</a>
</center></td>
</tr></tbody></table>
Notice the addition of 'class="gfdoyaoidcidmcglfcpo"' to TWO of the THREE img tags...
Only the third displays properly.

Source from IE:
Code: [Select]
<hr>
More Skymasters Information:<br>
<table><tr>
<td><center>
  <a href="http://www.facebook.com/skymastersrc" target="_blank">
  <img src="./data/graphics/icons/facebook.jpg" alt="Facebook" >
  <br />Facebook</a>
</td><td><center>
  <a href="http://www.youtube.com/channel/UCdu3Uxk4_uyKrr1hvhhus4A" target="_blank">
  <img src="./data/graphics/icons/youtube.jpg" alt="YouTube" >
  <br />YouTube</a>
</td><td><center>
  <a href="./data/rss/skymasters.xml">
  <img src="data/graphics/icons/rss.jpg" alt="RSSFeed" >
  <br />RSS</a>
</td>
</tr></table>


You can view this at www.skymasters.org... Right side of Portal page... 'Links' box... both top banner and 2 of the 3 bottom images have the issue in Firefox. The class name also seems to change... 

I've attached pics of the working and non-working block...
Suggestions welcome.
Thanks!
Greg
Title: Re: class tags being added to SOME images in block with Firefox only??
Post by: ♦ Ninja ZX-10RR ♦ on March 31, 2016, 01:22:07 AM
Works on my Firefox, so I moved the topic to General Discussions (it wouldn't have fallen into support anyways, more likely custom coding).
Title: Re: class tags being added to SOME images in block with Firefox only??
Post by: andy on March 31, 2016, 02:26:00 AM
Its 99% likely to be an Ad blocking plugin you use with Firefox.

I have Adguard and it only displays if I disable it.
Title: Re: class tags being added to SOME images in block with Firefox only??
Post by: gmc on March 31, 2016, 03:33:07 PM
I knew it had to be something simple... didn't even think of ad blocker software... but that was it... I disabled it - and it worked fine...

Thank you...
Greg
SimplePortal 2.3.8 © 2008-2024, SimplePortal