How to monitor Addon's behavior from browser's point of view

Hello Friends

I am creating firefox patch where I need to monitor addon if it tries to
access/track user specific data such as history or cookie in private
In case if any addon is doing that then browser should give prompt msg that
[ ex. abc addon ] addon is accessing history/cookie.

To do so I need to add module [Ex. XPCOM module ] to firefox to monitor
behavior of addons.
But I don't know which part of browser is responsible to give response to
calls from addons.
In all, I [browser] want to know when ever addon call function to access
history or cookie.

Is it possible to track it with the help of XPCOM ? How?

Lets consider addon called "track" has code:

# var cookieMgr =3D Components.classes[";1"]
# .getService(Components.interfaces.nsICookieManager);
# for (var e =3D cookieMgr.enumerator; e.hasMoreElements();) {
# var cookie =3D e.getNext().QueryInterface(Components.interfaces.nsICookie=
# dump( + ";" + + "=3D" + cookie.value + "\n"); // s=
ee for a list of attributes on
# }

Some how from browser's point of view I want to know that addon called
"track" calling cookie manager. How to track this addon ?
If I get this then I can modify response to this call according to my

Plz help...Any Suggestion is welcome.
----- =E0=A4=B8=E0=A4=A4=E0=A5=8D=E0=A4=AF=E0=A4=AE=E0=A5=87=E0=A4=B5 =E0=
Bapat Ameya Devendra
National Institute of Technology,
Surathkal, Karnataka.
Contact No - 9591164025
12/1/2011 1:01:18 AM 3660 articles. 0 followers. Post Follow

0 Replies

Similar Articles

[PageSpeed] 24
Get it on Google Play
Get it on Apple App Store


Similar Artilces:

When viewing a ng I'm having problems with choosing what to view. It's like this. When scrolling through the posts my reader wants to view every thread. Let's say I read a particular post. It's highli
When viewing a ng I'm having problems with choosing what to view. It's like this. When scrolling through the posts my reader wants to view every thread. Let's say I read a particular post. It's highlighted because I chose to read it. Then after I am done and scroll down, instead of the highlight moving, it stays centered and wants to read/open every post that I'm scrolling through even though I haven't clicked on it and I don't want to read it. This also affects choosing which ng to read. Things want to scroll when I am not wanting them too. When I ...

Replace 1's and 0's in a gridview column with Yes's and No's
Is it possible to change the display of a column in a gridview to show a Yes for all 1's and a No for 0's that display in a particular column of a gridview bound to a database?  If so, can someone share the way with me?  I am using ASP.NET 2.0 with VB Code Behind.  Thanks One way you can do is thrrough  CASE in your select statement: Select YesNoColumn= CASE yourColumn WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END FROM YourtableLimno <Columns>     <asp:TemplateField HeaderText="yourHeader" SortExpression="yourDataField"> ...

It's Linux !? No, it's BSD ! No, no, it's...
kFreeBSD a Debian distro using the FreeBSD kernel ! ObiWan wrote: > kFreeBSD > > > > a Debian distro using the FreeBSD kernel ! Why use a BSD kernel? I hope the reason is more than, just because they can. It's easy to understand why the would want to use Debian packages. :) -- Jimmy Johnson Registered Linux User #380263 >> kFreeBSD >> >> >> ...

Help! I cannot access the DataGrid's ItemTemplate's LinkButton's Text Atrribute 's Value!!!!!!!!!!!
I write a datagrid's ItemDataBound method as follows:   private void dgTable_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {   if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)   {    if(!isRole("Manager"))    {     LinkButton tmp = (LinkButton)e.Item.FindControl("lbPassed");     if(tmp.Text == "Passed")     {      ((LinkBu...

It's the fastest ''firefox'' i've ever had!!!:)
Name: Blagovest Email: blago_944atabvdotbg Product: Firefox Summary: It's the fastest ''firefox'' i've ever had!!!:) Comments: I's a great product!I'm really amazed! Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1 From URL: Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Hyperlink's, ImageURL's, and OnError's
I created an ASP:Hyperlink and set the ImageURL attribute so the link will be the image.If the image is missing, I would like it to display a 'missing image' pic that I have.  I know you can use the OnError attribute of the <img> tag to run some javascript to change it.Unfortunately I can't find a way to access the Hyperlink's Image that is inside it, so I can add an Attribute so the resulting <img> tag will have an OnError attribute inside of it.Any help?If my Hyperlink is called 'foo'....would I do...  ((Image) foo.Controls[0]).Attributes.Add(&...

UNION's and VIEW's
Is it true that you can't use union's in views?????? Marty Marty Phee wrote: > > Is it true that you can't use union's in views?????? > In SQL Server 11.x and Adaptive Server 11.5.x, yes. This is documented in Reference Manual Vol 1, in the section on "create view". -- Bret Halford Imagine my disappointment Sybase Technical Support in learning the true nature 3665 Discovery Drive of Boulder, CO 80303 Marty, Yes, true Views cannot use UNIONs - however there is a usability item that can be done to simulate...

Who's show is SN? Steve's or Leo's?
I don't want to start anything (honestly)! Just want to ask a simple question. Does the Security Now podcast belong to Steve Gibson or Leo Laporte? Maybe I'm in a world all to myself, but when I listen to the excellent SN podcasts, I want to hear STEVE, not Leo. But especially in the past few shows, it seems Leo will repeatedly interrupt Steve in the middle of a sentence that I want to hear the rest of. I consider this very rude of Leo. Steve is making a point that I (we) want to hear, then looses his train of thought after Leo barges in and asks something. It...

Guru's..?? Any do's and/or dont's for Zfd4 and Citrix..?
We've got a nw6/sp5 network with GW 6.5, bm3.7 and zfd 4.01 up'n'running.. Now we're adding a citrix server ( win2003) to the mix, will supply a couple off app's to users over the internal VPN in another city. Probably we'll skip the AD phase since we can not see any app and/or user with the need for AD. So,, any special considorations..? tip's'tricks..? known issues...? t.i.a... On Mon, 16 Aug 2004 15:57:10 GMT, Emerson wrote: > So,, any special considorations..? tip's'tricks..? known issues...? biggest one... zfd4.x d...

DataSet's DataTable's and TableAdapter's Oh My!
Here is my situation.  I am using VB as my programming language.I am creating a part of a website that will be the admin section.  I want the admin to be able to add/edit data in a set of tables that normal users can't.  There are 20 lookup tables that I use in the website that I want the admin to be able to manage (i.e. add, edit, delete, insert).  I don't want to create 20 separate web pages (one for each table).  I have one page that has links to all the tables.  Each link has a "table" querystring variable associated with it.  When the...

411 it's pconsole, 51 it's NWPMW32, 65 it's ???
I like to give some of my users controll over their print jobs. In Netware 3.x to 4.x it was pconsole. In Netware 5.x it was NWPMW32. I don't seem to be able to find the same type of utility for Netware 6.5? We don't like to give user access to nwadmin and the NWPMW32 I copied from my 51 server (TID 10075273) to the 65 server won't display the jobs. Mmccabe, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem been resolved? If not, you might try o...

problems with plugin's / addon's
Name: jacqueline Email: juttchen76athotmaildotcom Product: Gran Paradiso Summary: problems with plugin's / addon's Comments: Hi there, I've just booted my new installed ubuntu 8.04 and wanted to add some plugin's for firefox (fireftp; foxmarks, all-in-one-gesture etc.) and it tells me that these addon's are for elder versions... will they be updated??? greetings, jutta Browser Details: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5 From URL: ...

I'm P*SSed
Hello, I am really pissed. Firefox updated it's self Even though I KNOW I have Always had the auto update setting turned off. I just restarted my PC to clear cache ect. and when I restarted and started Firefox it notified me that it had been updated.. All my Bookmarks are GONE! there is a 2.21 MB "backup" Bookmarks file but it is Empty! I've even looked at it in my editor, HTML-kit and Notepad... It's Empty... All my settings are gone and I can not show the bookmarks bar. What the F* is up with this crap. I'm about to remove and stop recommend...

Repost: FF won't show gif's nor jpg's Red X's
XP sp2 FF extentions: Adblock Plus Copy plain text Fasterfox Firebug FireFTP McAfee SiteAdvisor NoScript Talkback Video Downloader Pic's show red x's. These pics show just fine in Internet Explorer and Netscape. Anyone have any ideas????? Fasterfox, I guess. See what happens if you disable it (or just disable its pipelining feature). -- �Q� =============== Thank you Q. I disabled all of them, one at a time (restarting each time) and the problem still exists :-( digimomma On 7/12/2007 5:26 PM digimom inquired: > Thank y...

Web resources about - How to monitor Addon's behavior from browser's point of view -

Resources last updated: 1/17/2016 4:10:24 AM