Jump to content

oxyle

Members
  • Posts

    3
  • Joined

  • Last visited

About oxyle

  • Birthday 12/25/1992
  • Location Melbourne VIC, Australia

Profile Information

  • Gender
    Male

Recent Profile Visitors

367 profile views

oxyle's Achievements

  1. I think my hand is jealous of your hand : You're amazing
  2. Hello, I thought this sounded like fun, so it's time for delurk #2. You can run JavaScript on the current page by putting "javascript:<code>" into the URL bar. But what <code> to run? void($('a[id^=link_]').each(function(){expandThumb(this.id.substring(5))})); The $() uses Curvage's JQuery library to find all the links whose IDs start with "link_". The .each() part runs an inline function for each of those matching links. The inline function calls the expandThumb() function, passing in the other part of the ID, a unique number that identifies each attachment. The wrapping void() stops the code from replacing the current page with its output. So it looks like we should be able to go a page with picture attachments, paste javascript:void($('a[id^=link_]').each(function(){expandThumb(this.id.substring(5))})); into the url bar and hit enter. Unfortunately, Firefox eats the "javascript:" part. So I tried "javascript:javascript:", but, perhaps fittingly for this sort of forum, it just ate both. Typing it in works fine, but that's not cool. Maybe a bookmarklet? Oh good, that still works. Make a bookmark with the location as that JS url then click it when you want to expand all the images on Curvage. Such convenient. I only tested a few pages, none with non-picture attachments, they might break it. Tell me if you try it!
  3. Hello, delightful photos! And you're a fellow Melburnian?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.