From: SourceForge.net <no...@so...> - 2004-06-18 17:10:45
|
Support Requests item #975023, was opened at 2004-06-17 15:26 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=975023&group_id=11118 Category: filters Group: None Status: Open Priority: 5 Submitted By: Joshua D. Drake (commandprompt) Assigned to: Nobody/Anonymous (nobody) Summary: Returning wrapped content Initial Comment: Hello, I am in the process of creating a kiosk for a specific industry. We have preliminarily choosen privoxy for the proxy server. What we would like to is make it so EVERY page that is requested by a web browser utilizing privoxy returns the page unaltered except that it is wrapped in a frame. The top frame would include some internal navigation, intranet links etc... the lower frame would include the the page requested. Can privoxy handle this? Sincerely, Joshua D. Drake ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-06-18 10:10 Message: Logged In: NO Joshua, As a side note, I'd recommend looking at a (commercial) product called NetKey. I've used it for kiosk builds, and I would highly recommend using it in conjunction with Privoxy. -r rus...@sw... ---------------------------------------------------------------------- Comment By: Joshua D. Drake (commandprompt) Date: 2004-06-17 16:39 Message: Logged In: YES user_id=980597 Well we aren't extremely concerned with the breaking of the frame but your comment is taken to heart. The next thought was what if we just added to the page. Every HTML page has a title tag. If I could somehow just add a new line and a small one row table with links right after the title tag, and then let the page display as normal, that would work wouldn't it? ---------------------------------------------------------------------- Comment By: Brian (dessent) Date: 2004-06-17 16:17 Message: Logged In: YES user_id=585719 What you're really asking here is for a way to prevent a page from breaking out of a frame. Once you have that, then all you need to do is start the browsing with a static HTML file that establishes the frameset, and from there on everything will stay within the frame. There's no way (that I'm aware of) to take a regular page and just add a tag that says "make this a frame." You have to first establish a frameset and then link from each panel to the destination content. But of course the hard part is neutralizing all the various techniques that allow a page to escape from its frame. The most common bit is javascript that does something like: "if( parent.frames.length ) { parent.top.location = "xyz";}" or similar. Popups, opening in new windows, and other stuff like that are going to be a big concern as well because they will break out of framesets. I'm afraid there are tons of ways to (ab)use JS for this kind of thing, so if it's possible to disable JS that would go a long way. If you attempt to do this by filtering alone you are going to have a hard time getting complete coverage. There is always a site lurking out there somewhere that uses javascript in a way that you didn't anticipate, or something like that which will cause it to evade your filter. I would suggest going at this from the browser standpoint as well - for example using XUL with the Mozilla platform... You might be able to latch onto the browser events that create new windows, for example, and redirect them to the frameset. Or hook into the methods that would normally be used for exiting from a frame and disable them. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=975023&group_id=11118 |