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

搜尋 Mozilla 技術支援網站

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

了解更多

The "Favorite" icon on Instructables.com doesn't load. Firefox v13.0.1. It does work in Chrome v20.0.1132.57 m

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 ToddJS

more options

When you are logged in at instructables.com, each article has a heart icon with 'Favorite" next to it. It should be between the Print PDF icon and the Email icon.

When you click on it, it changes to 'Un-fav". I've disabled AdBlock and NoScript for instructables.com.

This is the code on the page that should display it: <script class="tier2" type="text/deferscript">

     new Favoriter($("#" + "favoriterElement0"),
       { entryId:'EXKGZJ0FPQLEOV9',
         isFavorite:false,alreadyFavoritedLink:true,notFavoritedLink:true
     });
 </script>
When you are logged in at instructables.com, each article has a heart icon with 'Favorite" next to it. It should be between the Print PDF icon and the Email icon. When you click on it, it changes to 'Un-fav". I've disabled AdBlock and NoScript for instructables.com. This is the code on the page that should display it: <script class="tier2" type="text/deferscript"> new Favoriter($("#" + "favoriterElement0"), { entryId:'EXKGZJ0FPQLEOV9', isFavorite:false,alreadyFavoritedLink:true,notFavoritedLink:true }); </script>

所有回覆 (6)

more options

Do you see the word Favorite but not the heart icon, or is the entire favorite-ing function missing? I will assume it's just the image.

I noticed the button's file name is similar to "favicon": fav-icon.png

If you have any add-ons that block favicons, perhaps that is interfering with this image?


More generally, when you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.

1. Clear Firefox's Cache

orange Firefox button or Tools menu > Options > Advanced

On the Network mini-tab > Offline Storage : "Clear Now"

2. If needed, delete the site's cookies here (this will log you out)

While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"

Then try reloading the page. Does that help?

more options

I don't see the image or the word 'Favorite'. The entire favorite-ing function is missing.

I don't think I have any add-ons that would block favicons.

I had already cleared the cache but not the cookies. When I delete the cookies for instructables.com I see the Favorite option again.

However, as soon as I login, it disappears. Weird.

Thank you very much for your help. -Todd

more options

I don't have a login so didn't know about that. If you select across that area with the mouse, right-click, and View Selection Source, do you see anything related to Favorites just after the PDF stuff? If so, perhaps there is some wayward style rule hiding it.

more options

I also didn't notice the login thing until I logged myself out.

If I select that area and View Selection Source, there is a brief mention of Favorites. Print PDF</a></span><span id="favoriterElement0"></span><a href="mailto:?

Wait that's weird, when I Preview Reply before clicking Post Reply, the preview takes out the part that mentions Favorites. Between the Print PDF and Mailto sections above should be: span id=favoriterElement0 /span

Why is this page removing that part of my post?

If I View Selection Source while logged out, it's there but different code because the 'Favorite' icon is based on my user profile.

If I right-click the page and select 'View Page Source' I can find it. I wonder if it has something to do with the "type="text/deferscript". The 'Favorite' part does appear to load after everything else. But the Star rating on the article also uses it and that load ok.

type="text/deferscript">
      new Favoriter($("#" + "favoriterElement0"),
        { entryId:'E96C8J0H2VARRLJ',
          isFavorite:false,alreadyFavoritedLink:true,notFavoritedLink:true

-Todd

由 cor-el 於 修改

more options

Sorry about the forum. It assumes that an open caret (<) is part of an HTML tag and filters it as such. To post the script, you might need to change those to left brackets ([) or left braces ({).

(I am curious about the type="text/deferscript" since that is nonstandard. From what I can see, some script at Instructables converts these to regular script tags at some point.)

more options