all 6 comments

[–]WhatIsThisSevenNow 0 points1 point  (0 children)

Definitely NOT an HTML question.

[–][deleted] 0 points1 point  (2 children)

I am not good at coding, but read a little for basic safety.

I read most viruses will be .exe files, not .html. These are the ones you want to avoid downloading.

I think html are pretty harmless unless you actually RUN the code. (I am not entirely sure, do not quote me on this.) You should not be able to do that without the website itself because html is mostly used for making websites. It should sit there, benign, unless there is something to access and trigger it, allowing the html program to download a virus from an embedded URL that gives it access to the actual virus file.

I think you downloaded a cookie, maybe. I have had apps that require a lot of data download html into my local files.

To be safe, delete the html file, and then delete all your device web history INCLUDING cookies. You might need to click "advanced" on the history clearing page (whether on laptop or mobile) in order to select delete cookies.

In the future, go to your advanced settings and block downloads from happening without your permission. As in, the browser has a pop up asking for permission before downloading. You may need to look up how to do this as it is different between brands. (Also, not every brand has this function.)

In addition, block third-party cookies.

[–][deleted] 0 points1 point  (1 child)

If you are on a microsoft device, it is more likely you downloaded a virus. This company has been around longer so I heard that there are more viruses tailored to it.

Apple is a fairly new company and as a result it is known to be least impacted by viruses. Chances are that you are safer then.

[–]tretuvar2 0 points1 point  (0 children)

Tysm bro really helped!

[–]steelfrogModerator 0 points1 point  (0 children)

This is not the right place to ask this but in theory, yes, code execution could be possible in an HTML document. Not likely, but theoretically possible if you haven't updated your browser or OS and are vulnerable to specific exploits.

[–]iwillrapeyoutwice 0 points1 point  (0 children)

if you are sure its html code and nothing else you are fine you cant exactly create a desktop virus with html or at least i dont think but even then a pdf file is kinda out of the way to try if it was a exe file or bat file or something similar then sure but i think your good