Uninstall browser by console

-3

I'm trying to use the delete navigator; command. It even returns me true but nothing happens in javascript to uninstall the Chrome browser. For some reason it is not working, could anyone help me?

    
asked by anonymous 02.04.2014 / 16:56

2 answers

11

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

    
02.04.2014 / 17:02
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:

  

link

     

link

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

    
02.04.2014 / 17:55