I'm experimenting with NoScript's ABE funtion. I have setup my rules as follows:
Code: Select all
SYSTEM:
# Prevent WAN sites from requesting LAN resources
Site LOCAL
Accept from LOCAL
Deny
USER:
Site ^https?://(\w*\.)*y(ahoo|img)\.com/.*
Accept from ^https?://(\w*\.)*y(ahoo|img)\.com/.*
Anon
Site ^https?://(\w*\.)*google\.com(\.\w{2})?/.*
Accept from ^https?://(\w*\.)*google\.com(\.\w{2})?/.*
Anon
Site ^https?://(\w*\.)*mywot\.(com|net)/.*
Accept from ^https?://(\w*\.)*mywot\.(com|net)/.*
Anon
Site .live.com .msn.com ^https?://(\w*\.)*passport\.(com|net)/.*
Accept from .live.com .msn.com ^https?://(\w*\.)*passport\.(com|net)/.*
Anon
Site .lastpass.com
Accept from .lastpass.com
Anon
# Allows httpauth+cookies to be sent with requests
# from the same base domain, stripping it off otherwise
Site *
Accept from SELF++
Anon
After navigating around Windows Live pages (Hotmail, Messenger, Spaces, etc.), I see this significant jump in memory from the task manager. I also have the error console open to view ABE's actions in realtime, and debug if some functions of the Live pages break as a consequence of the rules I have. This jump in memory does not go down even after closing tabs or clearing all caches.
However, if I have the USER ABE rules deactivated during a fresh browser restart, then memory usage is, in my opinion, within normal limits when navigating in Windows Live. I admit that there is an incremental memory usage as Firefox is used, especially after several hours of web surfing, but should not be so much significant increment in a very short period.
Regarding the regular expressions in my rules, I have so far read that using ( <expr> ) and (?: <expr> ) are two different functions, where the former captures the matched substring as indicated by the <expr>, which can be recalled from an array of elements using the the notation \1 ... \n for n matches, while the latter does not. Could this be the cause of the sudden memory jump? Should the latter be used in favor of the former?
Can anybody share their thoughts on this? Thanks.