Project

General

Profile

« Previous | Next » 

Revision 1789f174

Added by koszko about 2 years ago

merge jahoti into master

View differences:

content/main.js
18 18
 * IMPORT is_privileged_url
19 19
 * IMPORT sanitize_attributes
20 20
 * IMPORT mozilla_suppress_scripts
21
 * IMPORT browser
21 22
 * IMPORT is_chrome
22 23
 * IMPORT is_mozilla
23 24
 * IMPORT start_activity_info_server
......
134 135
	    port.onMessage.removeListener(nonce_capturer);
135 136
	    handle_page_actions(msg[1], port);
136 137
	};
137
	
138

  
138 139
	port.onMessage.addListener(nonce_capturer);
139
	
140

  
140 141
    } else if (is_whitelisted()) {
141 142
	/* do not block scripts at all; as a result, there is no need for a green-lighted nonce */
142 143
	handle_page_actions(null, port);

Also available in: Unified diff