Any way to disable the "This type of file can harm your computer" warning?
-
@iAN-CooG I neglected to mention that I have non-printing characters displayed in Notepad++, but I think I was pretty clear in stating that I simply changed three characters...
I don't see the problem at all. You can damage your installation if you make invalid edits in any program you might use to modify Vivaldi's code...
I tried using Resource Hacker but it wouldn't open the file. I still recommend using Notepad++ with non-printing characters over a hex editor and / or a Python script and / or an executable Python program simply for ease of use... Much, much simpler.
-
@dracho said in Any way to disable the "This type of file can harm your computer" warning?:
Resource Hacker
that's for editing resources inside windows exes
Much, much simpler.
whatever floats your boat, mate.
-
There is a similar topic in the Windows forum (and a topic in Feature Request that's two years old). The solution in the Windows forum worked on my Windows machine but it doesn't seem to have a direct equivalence on Mac OSX.
Does anyone know what file on Mac needs to be manually edited to remove this warning?
-
@tway I haven't seen that warning in ages, can you provide an example download?
-
@iAN-CooG said in Any way to disable the "This type of file can harm your computer" warning?:
Uh, notepad++ is a text editor, and resources.pak is NOT a text file, so you can possibly do something wrong editing a binary file with a text editor, like inserting/removing CR/LF chars where you shouldn't, hence ruining the structure of the file.
NOT RECOMMENDEDIf we're talking about notepad or wordpad, fine, but telling people they can't use Notepad++? It specifically gives options for line endings and non-printing characters due to its other purpose as a source code editor.
What if I said "I don't know python so your code must be dangerous. NOT RECOMMENDED" We both know that's ridiculous.
The above sentiment is exactly why this annoying prompt exists. People who don't know something are assuming you also don't know. Avoid being like Google, my coder friend.
-
@Mekronid I already explained why I said it's not reccomended, of course expert users knowing what they are doing can use whatever they see fit for the task, and of course, don't need even go searching on forums for solutions to their problems. I simply gave directions to those not being able to help themselves. Your intervention instead, it's of no help for anyone. Good start.
-
@meOnlyMe For some reason, you may need to go into your IE internet settings and allow unsafe files.
All downloads work perfectly here, so I can't say what's going on with some. But you're the second person to mention this, this week. And no one can reproduce it.
-
I've found at least 2 other threads describing the exe download problem - I'll post anything else into thread 1:
https://forum.vivaldi.net/topic/12770/resolved-bug-exe-downloads-aren-t-finished-properly/6
https://forum.vivaldi.net/topic/12996/resolved-downloaded-exe-files-are-not-saved/10 -
@iAN-CooG You think non-expert users all know how to use Python and don't know how to use a text editor. My "intervention" was merely to highlight the absurd insularity of some coders. A good start indeed.
-
@Mekronid you are making it all up by yourself, I never stated what you say, I even provided an executable for those not knowing how to handle a python script.
I gave some help to an issue, you are just whining for no apparent reason. You are intervening on this forum only to attack me.
Can't you just stop it or do you need to have the last word at all costs? -
@Mekronid @iAN-CooG Cool down. There are indeed users who could not do it or don't dare it because of fear that something can break. With my default user I cannot put any file into the system directories btw , because I am not browsing with the admin user for security reasons.
Furthermore nobody wants to attack anybody, it is about describing users and I know some hard cases where all of the statements of Mekronid are trueSo, back to business:
First of all I want to thank @iAN-CooG for providing the python scripts (despite I didn't see the necessity to add a python dll because I have edited it with my hex editor) - but how do you think about another approach, because I wonder if a JS version would work.
This could run inside of the browser, provided the file is not write protected as long as the browser is active (did not check it yet). JS can parse all kinds of files and, if made well, it could offer a nice interface, listing all file types so that you only need to click which file type you don't want into the list.
Writing it back should not a big problem (<- guess) because you can save arbitrary files as blob.On the other hand making it too easy might not be such a good idea, because I bet some people would remove all file types, even those wo indeed can harm your computer. This would need need some more thought ...
-
@QuHno I think is sounds nice. As someone that downloads Amiga files and various ancient formats, having a quick method would be great.
-
@2635599 said in [Any way to disable the "This type of file can harm your computer" warning?]
not true, my roommate gets this on his logitech and ati drives that he was downloading directly from their respective sites.
You don't seem to understand what I wrote. The source of the file is irrelevant. The program checks for the file's extension - it doesn't check the file's content nor the download source. It doesn't have a definition of an "official xyz manufacturer's website", it's not an anti-virus. It's a simple script that is triggered by certain file types, regardless of their potential harmfulness.
-
@pafflick I can download the imagus.crx file now without warning in the internal build - let's hope that it is not only a fluke.
@2635599 I just succesfully downloaded latest Adrenaline driver from the AMD website and the Logitech drivers with 2.5.1525.48 W10 and there was definitely no warning. Are you sure that the "may harm your computer" warning comes from Vivaldi?
-
@QuHno said in Any way to disable the "This type of file can harm your computer" warning?:
Are you sure that the "may harm your computer" warning comes from Vivaldi?
of course it is, it's a Chromium "feature"
https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/resources/safe_browsing/README.md
Why it doesn't trigger on every setup is beyond me tho. This should be answered by the devs.By googling for it, I accidentally found someone who was proposing how to patch it
https://superuser.com/questions/594792/disable-this-type-of-file-can-harm-your-computer-nag-in-chrome -
@raed said in Any way to disable the "This type of file can harm your computer" warning?:
chrome://settings
it is already disabled here, still I need the hack for not showing the warning on the blacklisted extensions
-
@raed I tried it already, no change, I tried downloading a .prg from
https://csdb.dk/release/?id=178641
or an .exe from
https://csdb.dk/release/?id=34685
or an .crt from
https://csdb.dk/release/?id=135965
(this is a Commodore 64 scene database where I'm a moderator, the files are harmless)
and I get the warning. Unless I hack the download_file_types.pb to allow prg/crt/exe extension.
Probably the fact the urls are on a https site that flag doesn't matter, as it's specific for insecure (http) connections. -
@raed I'm on win7 32 bit, maybe makes a difference on which os we are.
-
-
@iAN-CooG I don't get the warning even with the "Safe browsing" enabled...
Vivaldi 2.5.1525.48 64-bit on Win10 x64