简体   繁体   English

Android强制关闭浏览器或以编程方式将其重置

[英]Android force close browser or reset it programmatically

I have a client who when the android app exits wants the browser to reset so whatever was previous there will be gone. 我有一个客户端,当android应用程序退出时,希望浏览器重置,这样以前的所有内容都将消失。 I have tried opening a website in the browser when the app exits but all that has done is open a new tab. 我尝试在应用程序退出时在浏览器中打开网站,但已完成的工作就是打开一个新标签页。 Is there a way to close current tabs or force close the browser to reset it? 有没有办法关闭当前标签页或强制关闭浏览器以将其重置?

I have a client who when the android app exits wants the browser to reset so whatever was previous there will be gone. 我有一个客户端,当android应用程序退出时,希望浏览器重置,这样以前的所有内容都将消失。

Fortunately, what your client wants is not supported. 幸运的是,不支持您客户的需求。 Moreover, since there are many browsers for Android (just like there are many browsers for other operating systems), there is no single "browser to reset". 此外,由于有许多用于Android的浏览器(就像有许多其他操作系统的浏览器一样),因此没有一个“重置浏览器”。

Is there a way to close current tabs or force close the browser to reset it? 有没有办法关闭当前标签页或强制关闭浏览器以将其重置?

Fortunately, no. 幸运的是,没有。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM