X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

After Java update, Pinterest button will not work

Posted

Pinterest was working fine. I was prompted to do a Java update which I did. Pinterest's Pin It button quit working. I have deleted old versions of Java and I checked to be sure the newly updated version was enabled. I deleted and reinstalled the Pinterest button. When I click it nothing happens but the text box that appears below the button stars out with javascript;void((function and then continues with a bunch of code but I can't copy and paste the entire text box as it disappears quickly.

Chosen solution

Here is a page where I can not use the Pinterest button for example http://www.horsekeeping.com/jewelry/p.../NP407-feather-turq-begay.htm

I get the same error on that page. It seem that Pinterest is expecting the page to have at least one script, and the page does not have any. This will need to be fixed by Pinterest. In the meantime, you can inject a blank script element into the page using the Web Console:

  • Select and copy the following line of code (it's all one line) to the clipboard
var s=document.createElement("script");s.setAttribute("type","text/javascript");document.body.appendChild(s);
  • On the problem page, if you already tried the Pin It button, reload the page
  • Press Ctrl+Shift+k to open the Web Console
  • Paste the script code into the Web Console next to the caret (>) and press Enter to run it
  • You can close the Web Console now and try the Pin It button
Read this answer in context 2

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.3 r300
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 10.5.1 for Mozilla browsers
  • 5.1.10411.0
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.3
  • McAfee MSC FF plugin DLL
  • NPWLPG
  • The plug-in allows you to open and edit files using Microsoft Office applications

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1

More Information

jscher2000
  • Top 10 Contributor
2380 solutions 21056 answers

Hmmm, there's no reason for the Pin It button to stop working, regardless of what's happening with the Java plugin. The reason for that is that JavaScript is interpreted by Firefox itself, without using the Java plugin.

Could you see whether a script error is being reported? To do that, try these steps:

  • Open a page with images
  • Press Ctrl+Shift+j to open the Error Console
  • Click the Clear button
  • Switch back to the other window and try the Pin It button
  • Switch back to the console and check for any errors -- anything there?

Question owner

I did as you instructed above. When I got to the error console window, there were errors there, I cleared, then went to the window with the item I wanted to pin, clicked on the pin it button, and the same thing happened. This appeared in the cleared error console window.

Timestamp: 8/4/2012 12:07:07 PM Error: TypeError: a.v.firstScript is undefined Source File: http://assets.pinterest.com/js/pinmarklet.js?r=18128691.49179043 Line: 10

cor-el
  • Top 10 Contributor
  • Moderator
10776 solutions 96986 answers

To avoid confusion:

Can you post a link to a web page with such a button?


Clear the cache and the cookies from sites that cause problems.

"Clear the Cache":

  • Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Tools > Options > Privacy > Cookies: "Show Cookies"

Start Firefox in Safe Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).

Question owner

Thank you. I've uninstalled Java from my computer and have sure all firefox settings are at recommended levels. I've cleared the cache. Now I am going to selectively clear cookies. Here is a page where I can not use the Pinterest button for example http://www.horsekeeping.com/jewelry/pendants/NP407-feather-turq-begay.htm

jscher2000
  • Top 10 Contributor
2380 solutions 21056 answers

Chosen Solution

Here is a page where I can not use the Pinterest button for example http://www.horsekeeping.com/jewelry/p.../NP407-feather-turq-begay.htm

I get the same error on that page. It seem that Pinterest is expecting the page to have at least one script, and the page does not have any. This will need to be fixed by Pinterest. In the meantime, you can inject a blank script element into the page using the Web Console:

  • Select and copy the following line of code (it's all one line) to the clipboard
var s=document.createElement("script");s.setAttribute("type","text/javascript");document.body.appendChild(s);
  • On the problem page, if you already tried the Pin It button, reload the page
  • Press Ctrl+Shift+k to open the Web Console
  • Paste the script code into the Web Console next to the caret (>) and press Enter to run it
  • You can close the Web Console now and try the Pin It button

Question owner

Thank you so very much !! I've asked my webmaster to include a script on that page and once he does that and uploads, I'll try it again.

But that definitely seems to be the answer because I checked some other pages which I know have script on them and they work fine..........

Just wanted to say thank you thank you and once I do the test on the new page, I will post again..........

Question owner

Yippee !! It worked !! Thank you so much for helping me. I'll click the Solved it !!