Last post Mar 18, 2015 04:59 AM by Kevin Shen - MSFT
Mar 13, 2015 07:58 AM|robertko|LINK
Hello, my project is helping users keep track of different HTML elements on websites and see when they change. The problem is that I also need some kind of UI for the users to browse the foreign website through, I have tried downloading the HTML and then
show it through a DIV, but that messes the CSS up. The ideal solution would be that the user surf the sites, with a DIV from me at the top of the page so they can mark elements to keep track of.. How do I do that?
Mar 13, 2015 10:06 AM|Nadeem157|LINK
How do I do that?
What you are upto that is still not clear. Can you elaborate more on this.
On a side note:-
If you just want to know who's looking through pages on a little rinky-dink site, one way is to have an app-wide (or static) list of the latest requests, along with the date/time of the request. Whenever someone requests a page, remove all of the "old"
hits (older than X minutes), and append (or update) the visitor's info with a date/time of now,
Note, for a really busy site, this would probably be a bad idea. A somewhat more scalable solution would be to have a 'last visit' column in your users table, and update that whenever the user requests a page. But that wouldn't be helpful to track anonymous/not-logged-in
Either way, to see who's "active", you go through the data and find all the visits/users with a last-visit time less than X minutes ago, where X is some number you feel is appropriate. 20-60 minutes is usually good enough.
Reference taken from here:-
Also, you can go through google to find out the best possible way of the browsing the sites and keeping a track.
Here are some links:-
Mar 17, 2015 03:41 AM|Ruchira|LINK
The problem is that I also need some kind of UI for the users to browse the foreign website through, I have tried downloading the HTML and then show it through a DIV, but that messes the CSS up.
You can try including the website inside an iframe. But keep in mind that most of the sites does not allow to be included inside an iframe because of security reasons and privacy reasons.
The ideal solution would be that the user surf the sites, with a DIV from me at the top of the page so they can mark elements to keep track of.. How do I do that?
This can't be developed with ASP.NET. You might need to develop a browser plugin for that. That's offtopic here.
Please 'Mark as Answer' if this post helps you
Mar 18, 2015 04:59 AM|Kevin Shen - MSFT|LINK
Based on my understanding,it seems hard to achieve.
When use change the html element,in fact ,it is a real time process.
Only when use leave the html page,you could download the html ,then compare it to previous page to check element change.
but it will be mess just like what you post.