From: Huy Nguyen <nvquang...@gmail.com>
Date: Mon, 27 Feb 2012 22:42:35 -0800 (PST)
Local: Tues, Feb 28 2012 1:42 am
Subject: How to intecept JS call to access DOM element?
I'm fairly new to Firefox Development and I need some help from the Mozilla community.
Normally d will just changes to 'hello world'. Now, I want to write a plugin (or modify Firefox/SpiderMonkey code, whichever that's necessary) to intercept the DOM call to `d` to allow/deny the access by my own rules (In the event that it's denied, the getElementById will behave as if element 'd' doesn't exist).
I have downloaded and built Firefox. Now I can't seem to find out which part (file/folder/function) of the source code do I have to look into? Do I also need to download and build SpiderMonkey for this purpose?
Thank you so much!
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.