[chrome app] #4447 fix. there may be problems with testing if this is a chrome app

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@35335 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
[chrome app] #4447 missing commit

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@35336 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Better fix for #4291

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@35337 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e