Add header on request

Add-in Express™ Support Service
That's what is more important than anything else

Add header on request
how to add headers on particular request? 
pa1 modi




Posts: 84
Joined: 2011-06-18
ya i know how to use use 'Tracking Protection' option which is in add-on manager.

after add .tpl file in 'Tracking Protection'

but i want to do this thing using code..

please its urgent..sergey
Posted 08 Aug, 2011 08:20:06 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
Sorry, it doesn't work and I don't know why.
Posted 08 Aug, 2011 08:50:52 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
i have also use this code but still it cant block Ads in IE.
please correct the code if its wrong.


string description = "Example Tracking Protection List";
string URL = "http://www.fanboy.co.nz/adblock/ie/fanboy-noele.tpl";;

this.HTMLDocument.parentWindow.external.GetType().InvokeMember("msAddTrackingProtectionList", System.Reflection.BindingFlags.InvokeMethod, null, this.HTMLDocument.parentWindow.external, new object[] {url, description });
Posted 08 Aug, 2011 08:57:37 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
and if u have another way to block Ads in IE through script or code than please help me.
Posted 08 Aug, 2011 08:59:02 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
This is the same code as above.
Please try to implement the code published here: http://adblockie.codeplex.com/
Posted 08 Aug, 2011 09:22:17 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
Posted 08 Aug, 2011 09:26:26 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
thanks sergery,

you send the link http://www.codeproject.com/KB/macros/ieadblock.aspx which contain src for IEAdblock but its for

work only for IE6 and IE7.

i need source for IE9 to block the Ads..

please send me link or source for that its uegent..
Posted 09 Aug, 2011 01:31:43 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
I am sure that the code should work in IE9 as well.
Posted 09 Aug, 2011 07:40:48 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
hi sergey,

please read this in it information is given about that source file..

http://www.catenalogic.com/products/ieadblock/information

and this is link for download source

http://www.catenalogic.com/products/ieadblock/download


i have also try its not working for IE9.

so please send another helpful link or source..
Posted 09 Aug, 2011 07:50:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
I have already sent you two links. What about the second one? Did you test it?
Posted 09 Aug, 2011 07:58:24 Top