473,395 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

intercepting HTML?

L#
Hi,
I'm looking for a starting point here. I want to 'intercept' incoming
HTML on the client, before it's handled by the browser. Is this
possible?
Kind regards ,
Ludwig
Nov 15 '05 #1
4 2014
L# <no**@none.com> wrote in news:7s********************************@4ax.com:
I'm looking for a starting point here. I want to 'intercept' incoming
HTML on the client, before it's handled by the browser. Is this
possible?


You can do this by building a CERN proxy and configuring the browser to use
the proxy. But this requires the user to set the proxy settings. Is this
acceptable in your situation?

If not, you'll have to hook in at a much lower level, and its a LOT more
work.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 15 '05 #2
L#
On Sat, 31 Jan 2004 23:34:32 +0300, "Chad Z. Hower aka Kudzu"
<cp**@hower.org> wrote:
You can do this by building a CERN proxy and configuring the browser to use
the proxy. But this requires the user to set the proxy settings. Is this
acceptable in your situation?

If not, you'll have to hook in at a much lower level, and its a LOT more
work.


Thanks for the answer. Letting the user set the proxy is not
acceptable. So like you suggested, it should be done at a lower level.
And that's the reason that I posted this message :)
So I guess it's not something that could easily be done in C#?

Regards,
Ludwig
Nov 15 '05 #3
L# <no**@none.com> wrote in
news:m1********************************@4ax.com:
So I guess it's not something that could easily be done in C#?


Not easily no. And I dont think it can be done using managed code at all. I
think the interfaces for this are all at the low level.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 15 '05 #4
The answer to your question is asyncronous url monikers.

I got the idea from Visual Studio. If you have ever used visual
studio help, you can see this in action. Bring up help and right
click on the page and bring up the properties: It uses help:\\. Now
try to go find the page referenced on your hard disk....

The browser actually does it's work via com monikers. There are
several installed as part of ie. For example, if you type
res:\\file.exe?foo.html, there is a res: com object that will open
file.exe and try to find a resource called foo.html and stream it
back to the browser.

I wrote a zip:\\ com object for the browser: Usage is
zip:\\file.zip?test.html. It opens the zip file, locates the file
and decompresses it back to the browswer.

I've also built thin thin clients that don't use a webserver using
this method. The com object does a standard three-tier client server
application, caching lots of information on the client and building
the html on the fly on the client. The only traffic to the server
was the database calls. Never have you seen webpages fly like this
(I had an application where the latency of the web was way too
slow!).

To write a com object to intercept calls between the server and
browser should be about 100 lines of code. You can write it an
managed or unmanaged code.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Valery Polyakov | last post by:
I am drawing lines with a semi-transparent color (alpha=100). When these lines intercept, the color becomes more intense. Is there a way to avoid this, so that I would get the same intensity of...
7
by: John | last post by:
Hi, Can anyone point me out how to intercept the keystrokes from a c# application that's not a active window? - intercepting the system wide keystrokes before it hits the target active window? ...
0
by: VMI | last post by:
My Windows datagrid has two columns: one with the data that the user will see (col_X) and the other one (a hidden one: col_sort) that'll be used to sort data. When a user clicks on col_X's column...
6
by: igarrison | last post by:
I'm working on an application for browsing encrypted files (HTML and PDF mostly)on a DVD. My plan is to decrypt the files to memory and stream them to the AxWebBrowser component which should be...
4
by: | last post by:
ASP.NET is a kind of "engine" that takes declarative markup and code and renders these instructions into presentational forms. And every page is a class. With that in mind I'm wondering, a)...
4
by: Curious Coder | last post by:
I have been tasked with a project that I do not think can be accomplished. Our company has an application that runs as an unmanaged ActiveX control on user desktops. It is designed to work with...
5
by: aaa | last post by:
Is there a simple straight forward tool out there for intercepting my SOAP requests so that I can debug the XML that I am sending?
3
by: pamelafluente | last post by:
I am new to asp.net. I have an asp page with a submit button which sends out some information. Instead of having IIS to respond and deal with this information, I would like to have a .NET...
1
by: craigslist.jg | last post by:
Hi, I've built a client side webpage for our internal users, which when loaded, generates some HTML within an iFrame. The HTML generated to the iFrame is then saved as HTML. I know it's useless...
0
by: Gabriel Genellina | last post by:
En Thu, 18 Sep 2008 19:24:26 -0300, Robert Dailey <rcdailey@gmail.com> escribió: Why don't you try it yourself? You may replace builtins.print with your own function too. It's not exactly the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.