0
点赞
收藏
分享

微信扫一扫

启动Opera时直接打开某个网站,或者打开Data account中设置的主页

悲催博士僧 2023-04-03 阅读 76


可以使用data account API来完成这个change feature 

change function goto_mobile_suite_screen as below: 

 {  

 opera_adp_prof_get_active_data_account_id(&account_id); 

  if( cbm_is_always_ask_account(account_id)) 

  { 

  

 opera_brw_api_start_browser(); //set always ask 

  }  

  else 

  {  

  if( opera_adp_prof_get_profile_homepage(account_id,&url_len,&url)) 

  opera_brw_api_goto_url(url); 

  else 

  opera_brw_api_start_browser(); //not set homepage 

  }  

 }

举报

相关推荐

0 条评论