Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 6 risposte
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di 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>

Tutte le risposte (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

Modificato da cor-el il

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