Hi,
Thanks for your response.
I'm trying to execute this code:
PrefServiceBridge.getInstance().nativeSetContentSettingForPattern(ContentSettingsType.CONTENT_SETTINGS_TYPE_JAVASCRIPT, "MY_URL", ContentSetting.BLOCK.toInt());
But I get the following error:
Process: org.chromium.chrome.browser, PID: 16443
java.lang.UnsatisfiedLinkError: No implementation found for long org.chromium.chrome.browser.search_engines.TemplateUrlService.nativeInit() (tried Java_org_chromium_chrome_browser_search_1engines_TemplateUrlService_nativeInit and Java_org_chromium_chrome_browser_search_1engines_TemplateUrlService_nativeInit__)
So I'm locking for the right place/time to run this code.
I tried to un it in the "ChromeBrowserInitializer" class but it didn't help.
Thanks
Avi