Click here to Skip to main content
15,905,867 members
Home / Discussions / C#
   

C#

 
GeneralShort Q: How to close a Console App and exit the program Pin
Schmidt__7-Mar-03 3:16
sussSchmidt__7-Mar-03 3:16 
GeneralRe: Short Q: How to close a Console App and exit the program Pin
Paul Riley7-Mar-03 3:18
Paul Riley7-Mar-03 3:18 
GeneralRe: Short Q: How to close a Console App and exit the program Pin
Nish Nishant7-Mar-03 3:20
sitebuilderNish Nishant7-Mar-03 3:20 
GeneralRe: Short Q: How to close a Console App and exit the program Pin
Paul Riley7-Mar-03 4:47
Paul Riley7-Mar-03 4:47 
GeneralRe: Short Q: How to close a Console App and exit the program Pin
Paresh Gheewala7-Mar-03 10:39
Paresh Gheewala7-Mar-03 10:39 
GeneralShort timezone names Pin
gercules7-Mar-03 3:10
gercules7-Mar-03 3:10 
QuestionHow to Paste Metafile(GIF) from EXCEL Pin
tzn6-Mar-03 23:31
tzn6-Mar-03 23:31 
Generalwriting a ad blocker: help needed! Pin
viperxp6-Mar-03 22:47
viperxp6-Mar-03 22:47 
i am planning to develop a rule-based ad & popup/-under blocking program as my degree level project. I am planning to use C#. I thinking of having the program as a standalone application that work in the background to screen incoming web pages for ads (by looking for keywords like '/ads' etc), remove the ad displaying codes, then feed it to the browser. the goal here is to prevent ads from being downloaded, so i must intercept the incoming pages before the browser gets to display it. i have no prior knowlege in doing this kind of program. note that the development has not started yet. i am asking this question because i forsee the problems. i have quite a bit of experience in programming.

My problem is: how do i intercept the page, removing the code lines, and then pass it to browser programatically. I am having a technical problem, so i really hope someone can shed some light and lead me to a technical solution.

My program should also distingush the popup/under opened explicitly by the user and the real culprits - the ads. one idea i got from a friend is to scan window's title bar for specific words (like 'great deals' etc) but i know that's not the best way. so again, i hope someone can give me more ideas on how to implement this.

Thanks in advance for all your help.
GeneralRe: writing a ad blocker: help needed! Pin
Stephane Rodriguez.7-Mar-03 0:59
Stephane Rodriguez.7-Mar-03 0:59 
GeneralRe: Thanks, more info pls... Pin
viperxp7-Mar-03 3:02
viperxp7-Mar-03 3:02 
GeneralRe: writing a ad blocker: help needed! Pin
leppie7-Mar-03 9:07
leppie7-Mar-03 9:07 
GeneralRe: writing a ad blocker: help needed! Pin
viperxp19-Mar-03 4:10
viperxp19-Mar-03 4:10 
GeneralRe: writing a ad blocker: help needed! Pin
Stephane Rodriguez.19-Mar-03 4:53
Stephane Rodriguez.19-Mar-03 4:53 
QuestionHow can I set Add Remove Programs Icon Pin
mkomasi6-Mar-03 21:50
mkomasi6-Mar-03 21:50 
AnswerRe: How can I set Add Remove Programs Icon Pin
Paul Riley7-Mar-03 3:02
Paul Riley7-Mar-03 3:02 
GeneralRecord in datagrid Pin
meaya6-Mar-03 21:28
meaya6-Mar-03 21:28 
GeneralBitmap from ActiveX Pin
Anonymous6-Mar-03 20:20
Anonymous6-Mar-03 20:20 
GeneralAnakrino and .NET 1.1 : crashes bad :-( Pin
Nish Nishant6-Mar-03 17:39
sitebuilderNish Nishant6-Mar-03 17:39 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
leppie6-Mar-03 21:19
leppie6-Mar-03 21:19 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Nish Nishant7-Mar-03 3:17
sitebuilderNish Nishant7-Mar-03 3:17 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Kannan Kalyanaraman6-Mar-03 23:09
Kannan Kalyanaraman6-Mar-03 23:09 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Nish Nishant7-Mar-03 3:15
sitebuilderNish Nishant7-Mar-03 3:15 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Kannan Kalyanaraman7-Mar-03 15:50
Kannan Kalyanaraman7-Mar-03 15:50 
GeneralRe: Anakrino and .NET 1.1 : crashes bad :-( Pin
Richard Deeming7-Mar-03 4:51
mveRichard Deeming7-Mar-03 4:51 
GeneralThat frassin brassin adapter Pin
stephen.hazel6-Mar-03 17:04
stephen.hazel6-Mar-03 17:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.