為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

After Java update, Pinterest button will not work

  • 7 回覆
  • 12 有這個問題
  • 8 次檢視
  • 最近回覆由 Klimesh

more options

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.

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.

被選擇的解決方法

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
從原來的回覆中察看解決方案 👍 2

所有回覆 (7)

more options

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?
more options

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

more options

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).

more options

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

more options

選擇的解決方法

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
more options

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..........

more options

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