responsively-org / responsively-app

A modified web browser that helps in responsive web development. A web developer's must have dev-tool.
https://responsively.app
GNU Affero General Public License v3.0
22.28k stars 1.13k forks source link

The app connects to "www.google.com" on startup even though that's not the home page #537

Open ghost opened 3 years ago

ghost commented 3 years ago

My application firewall made me notice that responsively connects to www.google.com port 53 on startup. At first I thought it's fine because I can change the default home page, but even after changing the home page responsively is trying to connect to google on startup, and if I block the connection with the firewall the app doesn't start.

I propose removing the hardcoded google.com url from the code because responsively is not an a typical web browser, the user doesn't need a search engine for user experience in my opinion.

Why not greeting the user with a blank page, or even better a message like "Welcome to Responsively, please navigate to your design" or something along those lines.

Indeed Responsively is a great app and I like how much it has improved so far, thanks!

open-collective-bot[bot] commented 3 years ago

Hey @personaaleatoria :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially.

https://opencollective.com/responsively

PS.: We offer priority support for all financial contributors. Don't forget to add priority label once you start contributing :smile:

ghost commented 3 years ago

To reproduce:

jjavierdguezas commented 3 years ago

Hi @personaaleatoria , thanks for your suggestion I agree that if the user sets a default page then it should be the one (and only) loaded on startup On #533 we are working on setting a "blank page" as default on startup, maybe we can fix this there @manojVivek @bikingbadger

jjavierdguezas commented 3 years ago

Thanks @Zoeinfp, I'm assigning this to you

VicFinistere commented 3 years ago

Thanks @Zoeinfp, I'm assigning this to you

I was not able to reproduced it because I didn't see any request to google... I'll try another one!

jjavierdguezas commented 3 years ago

Hi @personaaleatoria I think my first test on this was wrong, because I tried again many times and I still cant reproduce it either, all I see is a request to www.google-analytics.com I'm using fiddler I set https://responsively.app/ as my startup page and these are the requests on startup image

image

I also tried with a local file and no request to google.com is made

this is my environment

Version: 0.15.0 Electron: 9.3.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.19042

Can you provide more info?

ghost commented 3 years ago

I'm using opensnitch application firewall to detect traffic

I set up example.com as home page and I'm seeing connection attempts to "www.google.com" on udp port 53, and udp6 port 53.

Version: 0.15.0 Electron: 9.3.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Linux x64 5.4.0-56-generic

ghost commented 3 years ago

I'm using the appimage version of responsively

21-53-49_ 2-12-2020 21-52-29_ 2-12-2020

heikojansen commented 3 years ago

Given that udp port 53 is used this probably is a DNS query, so it might not matter which homepage URL is used. Also, this won't show up in the developer tools...

I have no idea, why this does not respect the locally configured DNS resolver. Chrome (Chromium?) does issue a few DNS requests on random domain names on startup to detect dns hijacking, but that does not explain DNS requests where www.google.com is used as DNS resolver.

Might also be something hardcoded and therefore unavoidable.

ghost commented 3 years ago

@heikojansen that's odd because I use other apps based on electron / chromium and I've seen no such requests, for example visual studio code (vscodium). I'm no electron / chrome developer so I can't help with that. If you need more debug or info please let me know I'm glad to help.

YusufSuleman commented 3 years ago

Maybe it is an old bug or it is testing the internet connection.