GM-Script Update: FlickrCommonsRecommendations v0.2

    See documentation here to install.

    // --------------------------------------------------------------------
    // ChangeLog:
    //
    // 20090125 v0.2
    // * Now smarter, attempts to avoid re-showing you photos you have
    // recently favorited. Should keep the new content coming.
    // This requires you to be logged into flickr, otherwise old method.
    // * New default display as a "sidebar" panel with 9 images. Old method
    // still available if you edit the config variables.
    // * Changed method for scoping the flickr globals, now uses unsafeWindow
    // * New flickr globals depreciated old NSID & LANG detection methods.
    // * Abstracted CSS for easier user editing.
    // 20090118 v0.1
    // * initial version.

    Comments and faves

    1. Brenda Anderson (41 months ago | reply)

      Neat!

      But I'm still getting images that I've already faved.

      Oddly though, if I've already faved the photo I'm on, the recommended box never loads at all! Might you have some logic backwards somewhere?

      --
      Seen in a discussion of the group "Flickr Commons" (?)

    2. Lú_ (41 months ago | reply)

      Sweet!

    3. clickykbd (41 months ago | reply)

      Thanks. I'll look into it. Was testing on a photo i had faved so not sure what is different in your situation brenda.

    4. Brenda Anderson (41 months ago | reply)

      Hmm.. I restarted the browser and now the box is showing on that photo. Maybe there was something preventing the GM from running on that particular page?

      Note that it was showing on the page when I pressed the fave star. Then I went to one of the recommended photos... when I then revisited the first one, the box was missing and no amount of shift-reloading the page could make it come back.

    5. clickykbd (41 months ago | reply)

      Sometimes it won't appear because it didn't find any recent favs, and that is expected, but your case sounds different. (on my phone right now)

    6. clickykbd (41 months ago | reply)

      I've also noticed that due to it waiting for "onload", sometimes really poorly hosted "bling awards etc" in comments prevent this script from running in a timely fashion.

      Also, the API takes a moment to catch up on your favorites... so it might continue to show "just favorited" photos, but will start ignoring them later (within minutes usually). I'm making a note to add an auto-rotating persistent fav history to attempt to workaround this cache/sync bug. Or I could add my similar "ignore recently seen images" feature and kill that bug in the process.

    keyboard shortcuts: previous photo next photo L view in light box F favorite < scroll film strip left > scroll film strip right ? show all shortcuts