Jump to content

Help - use light proxy / get_page_contents / include page / or ???


userlite

Recommended Posts

  I am trying to develop a web application for which I need to capture a specific user-driven event (such as mouse dblclick) occurring on a different-website page loaded through my website.

 

What I want to do is :

 

1. User visits my website - hosted by me.

2. There, user types in any website URL (e.g.: http://www.example.com)

3. That URL page gets loaded as is. 

4. When user double-clicks mouse over any link or image from that page, a popup/side-panel is displayed with content related to that particular image or link.

 

I can do this with a combination of PHP get_page_contents or include-page, and javascript dblclick.

However, when user clicks on any link or submits a form, the control goes to that other website, where I cannot show the side-panel.

I might be able to handle the links by proxifying them when user clicks on any of them. How do I handle forms submission and other stuff ?

I can use a full-featured proxy, but that will be too heavy just for the purpose of capturing the event.

 

My question is that is there a way to write some kind of light PHP script that sits on my website - that loads other websites contents as is, but lets me capture the mouse-dblclick event to show related-content in the side panel .

 

I have already searched the internet, but could not find anything.

 

Any help is really appreciated. Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.