Jump to content
  • 0

Background Picture.


LD_FF

Question

I find the source code tab in the cache description very useful for puzzles. It saves me getting the lap top out. It would be nice to be able to see the background image part of the code as well. I always seem to have a problem finding it.  

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

I don't think the API gives access to the full HTML of the page, just the user description so Cachly can't help. You reminded me I too struggle with this when solving puzzles. I hacked together a quick bookmarklet that should help. From Cachly description, use the View in Geocaching.com to open in Safari. Then tap this bookmarklet you will create and it will open the background image in a new tab. 

There are numerous "How to create Safari Bookmarklet pages on the web but here is one. http://www.ipadforums.net/threads/guide-creating-safari-bookmarklets.72353/

Here is the bookmarklet definition  

javascript:void(window.open(document.body.background))

Link to comment
Share on other sites

  • 0
19 hours ago, DerLakaiMS said:

Couldn't you make an entry like "open background image in safari" in the ... menu?

I could...but I have to decide if things like this will clutter up the menus with a feature that only a few people would use. 

I will for sure add it to my list to consider. :)

Link to comment
Share on other sites

  • 0
20 hours ago, DerLakaiMS said:

Nic,

Couldn't you make an entry like "open background image in safari" in the ... menu?

Thomas

I don't see how it can be done technically. The image link is in the <body> tag which is not accessible to Cachly without a separate load of the HTML (not via the API). If he kicks it over to the Safari app, he no longer has control to make Safari do something like open the background image. Maybe I'm missing something but I'm not seeing it. 

Link to comment
Share on other sites

  • 0
21 minutes ago, rragan said:

I don't see how it can be done technically. The image link is in the <body> tag which is not accessible to Cachly without a separate load of the HTML (not via the API). If he kicks it over to the Safari app, he no longer has control to make Safari do something like open the background image. Maybe I'm missing something but I'm not seeing it. 

I would likely have to screen scrape the URL which is against the API Terms of Service.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...