Problem with 'spread the word' badge?
I used the first (smaller vertical) badge at https://www.mozilla.org/en-US/plugincheck/ on my Wordpress blog but although it shows the badge, it also shows the second half of the HTML: "var pfsNextImage = "https://www.mozilla.org/img/covehead/plugincheck/wb/en-US/180_150/safe.png";var pfsUpdateImage = "https://www.mozilla.org/img/covehead/plugincheck/wb/en-US/180_150/upyourplug.png";" If I remove that part, it just shows the badge, but do I lose anything but not including the part I've removed?
The whole code is:
Modified by cor-el
Additional System Details
- Next Generation Java Plug-in 1.6.0_31 for Mozilla browsers
- NPRuntime Script Plug-in Library for Java(TM) Deploy
- Shockwave Flash 11.1 r102
- Adobe Shockwave for Director Netscape plug-in, version 22.214.171.1244
- Google Update
- The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
- Adobe PDF Plug-In For Firefox and Netscape 10.1.2
- Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
- User Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Open Containing Folder
Java Quick Starter
Microsoft .NET Framework Assistant
AVG Safe Search
Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family
Vendor ID (GPU #2)
Device ID (GPU #2)
Adapter RAM (GPU #2)
Adapter Drivers (GPU #2)
Driver Version (GPU #2)
Driver Date (GPU #2)
Blocked for your graphics driver version. Try updating your graphics driver to version 126.96.36.19964 or newer.
GPU Accelerated Windows
0/1. Blocked for your graphics driver version. Try updating your graphics driver to version 188.8.131.5264 or newer.
That text is part of a script tag, so you shouldn't be seeing it.
Can you post a link to your blog site so we can check the code for errors?
Do you see any red text if you inspect the page source via the right-click context menu?
Thanks for replying. My blog is at http://adeunsheep.wordpress.com/
You will see two versions of the badge on my blog, on the right sidebar. One is 'cleaned up' where I've removed the script tag (and the link seems to work fine), the other, further down, shows the badge with the whole text including the script tag.
Not sure what "inspect the page source" means but I've tried both 'view page source' and 'inspect element' on the text both on the Firefox page where I found the badge and on my blog (from within the widget placing area, on the blog itself logged in and logged out); 'view page source' shows red text, namely numbers preceded by a #, forward slashes (/), &, >, (there's also a lot of blue and purple, and some bold black); 'inspect element' shows no red text.
As I say, I've found a workaround but figured it was worth pointing out. I must admit I don't understand how the link works without the script tag but then, I'm a complete novice where code of any sort is concerned!
If you look at the page source then you will notice that the script tags are missing, so that text in now normal text and rendered as such.
So in this case there isn't an error in the text, but only the script tags got lost.
If you didn't do that then maybe the blog software did (removing unrecognized or not white-listed tags).
<li id="text-4" class="widget widget_text"> <h2 class="widgettitle">test</h2> <div class="textwidget"> <a href="https://www.mozilla.org/en-US/plugincheck/"> <img src="https://www.mozilla.org/img/covehead/plugincheck/wb/en-US/180_150/loading.png" width="180" height="150" alt="We can check your plugins and stuff" border="0" /> </a> <!-- this text should be in a script tag --> var pfsNextImage = "https://www.mozilla.org/img/covehead/plugincheck/wb/en-US/180_150/safe.png"; var pfsUpdateImage = "https://www.mozilla.org/img/covehead/plugincheck/wb/en-US/180_150/upyourplug.png"; </div> </li>
Modified by cor-el
Thanks for your help, cor-el.
Sorry that should have been "quite correct" !