Welcome to WebmasterWorld Guest from 54.160.221.82

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Grabbing Visible Elements of Remote Pages

Is there a way?

     
6:11 am on Aug 18, 2005 (gmt 0)

New User

10+ Year Member

joined:Feb 23, 2005
posts:36
votes: 0


Hi All

I currently have a script that grabs a remotely hosted webpage (using @file()) and checks for the occurence of a certain item on that page. This works fine, except that the script also needs to check that the item is "visible" to the user. I'm guessing, short of writing the most complex CSS and JS validator ever written, that this is not possible. Am i right in this assumption?

Many thanks

Simmo.

6:17 am on Aug 18, 2005 (gmt 0)

New User

10+ Year Member

joined:Aug 4, 2005
posts:11
votes: 0


You could check the markup for the element
style="display: none;"
or something, but you're right: What if they have the visibility set to none with CSS or JS? I'm not sure what you would do then, or even if there is anything you could do without writing something to check CSS files, or even more unrealistically, the JS files.
6:41 am on Aug 18, 2005 (gmt 0)

New User

10+ Year Member

joined:Feb 23, 2005
posts:36
votes: 0


Yes it's tricky eh. There are so many ways one could hide something.

What makes me wonder though, is that you see sites that can "grab" thumbnail gifs of remote sites. Now i believe this can be done automatically, but whether its achievable only through PC software or not i don't know.

But assuming it can be done online, by say Perl, Python or PHP, then it raised my curiosity n so much as maybe it knows what the page comprises of in order to do the thumbnail.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members