if (current_url.match(/\.efytimes\.com\//) ) {
Seed.print("hide coverpop\n");
TabbedBrowser.browser.current_tab().get_web_view().execute_script("" +
- "document.getElementById('CoverPop-cover').style.display = 'none'; " +
- "document.body.setAttribute('style', '');" +
- "document.documentElement.className= '';" +
- "document.getElementById('IL_INSEARCH').style.display = 'none'; " +
+ " try { document.getElementById('CoverPop-cover').style.display = 'none'; }catch(e){}" +
+ "try { document.body.setAttribute('style', '');}catch(e){}" +
+ "try { document.documentElement.className= '';}catch(e){}" +
+ "try { document.getElementById('IL_INSEARCH').style.display = 'none'; }catch(e){}" +
"");
}