Uninstall browser by console

Asked

Viewed 141 times

-3

I’m trying to use the remote delete navigator;. He even returns to me true but nothing happens in javascript to uninstall the Chrome browser. For some reason it’s not working, someone could help me?

2 answers

11


The command delete navigator; not "uninstall" the browser, the delete serves to delete variables and levels of literal objects for example. In your case you are trying to delete the native global navigator, and is not working because the browser does not allow you to remove this variable.

  • Great answer.

2

Since @Diegolopeslima said delete serves to remove variables and objects, you can even overwrite the Navigator reference but not delete the object associated with it. I suggest you take a look at:

http://www.codecademy.com/

https://www.codeschool.com/

The answer to that Pergunta made in GUJ may be useful for you.

  • 1

    Thank you Mr Tuyoshi.. is that the code I entered was giving error there I try to put another but it did not help anything. but still thank you

Browser other questions tagged

You are not signed in. Login or sign up in order to post.