add method to modify CSP for chrome to apply extension frame's scripting