I'm working on an extension for chrome and just upgraded to manifest version 2, in which Google implements much tighter security. I'm stuck on one particular issue. After an ajax call it looks like jquey calls globalEval which uses eval which the new security policy doesn't allow.
globalEval: function( data ) {
if ( data && rnotwhite.test( data ) ) {
( window.execScript || function( data ) {
window[
"eval" ].
call(
window,
data );

Uncaught Error: Code generation from strings disallowed for this context
} )( data );
}
},
Any suggestions how to work around this issue?
Thanks
John