Viewed   27 times

Hai guys, I own a site it was working fine but when i hit my site now in firefox or google chrome i got this error Warning: Visiting this site may harm your computer!.... I dont know how to get rid of this....

 Answers

18

you got blacklisted for a reason. check your site really well:

  • get tool like fiddler, open your page in web browser and make sure requests sent from your computer go just to your site [ or trusted 3rd party sites ]
  • open all index.html/php in text editor, turn on wrapping and search for rogue javascript / html code.
  • check content of .htaccess files and make sure they do not contain any malicious rewrite / redirection rules

there is a plague of programs stealing passwords from ftp clients and uploading rough html / javascript / .htaccess files.

or maybe you just got hacked / are victim of js/html injection to your cms.

Monday, February 6, 2023
 
2

The problem with XML files started to happen to me as of Chrome 47.0.2526.80 m. After spending maybe 6 hours trying to turn off every possible security option I tried a different approach.

Ironically, it seems that turning on the Chrome option "Protect you and your device from dangerous sites" removes the message "This type of file can harm your computer. Do you want to keep file.xml anyway?"

I am using 'Ruby' with 'Watir-Webdriver' where the code looks like this:

prefs = {
    'safebrowsing' => {
        'enabled' => true,
    }
}

b = Watir::Browser.new :chrome, :prefs => prefs

Starting the browser like this, with safebrowsing option enabled, downloads the xml files without the message warning. The principle should be the same for Selenium with any programming language.

##### Edited: 13-04-2017

In latest version of Google Chrome the above solution is not enough. Additionally, it is necessary to start the browser with the following switch:

--safebrowsing-disable-download-protection

Now, the code for starting the browser would look something like this:

b = Watir::Browser.new :chrome, :prefs => prefs, :switches => %w[--safebrowsing-disable-download-protection]))
Monday, August 22, 2022
 
1

@DickKennedy Helped resolve my woes with a workaround for this by going to Chrome settings and enabling the option "Ask where to save each file before downloading" in the downloads section.

This isn't a fix, but it certainly gets the job done!

Thursday, August 18, 2022
 
5

As for Firefox, the op has already answered his own question (Menu - Web Developer - Network or Ctrl + Shift + K - Network or Ctrl + Shift + Q), but I'd like to mention the "app.telemetry Page Speed Monitor" addon, which does not require you to open the web console first. It'll just show the load time in ms in the status bar (it'll even show details when you click it).
https://addons.mozilla.org/en-US/firefox/addon/apptelemetry/
The only downside seems to be the Facebook/Twitter button.

As for Chrome/Chromium, I second Andy Davies' suggestion, the Page load time plugin is awesome, it shows the load time next to the location bar and it also provides details.

Friday, September 9, 2022
 
2

Google Chrome Console has no possibility (upon now) to get the Output/Contents of the Console.

Monday, August 1, 2022
Only authorized users can answer the search term. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :
 
Share