Jump to content

Recommended Posts

Posted

Hello. The Kaspersky Protection extension does not work in Brave Browser. But it works when I change the name of Brave.exe to chrome.exe. This is not an effective solution, because the name changes again when Brave is updated.

Since there is no compatibility issue (apparently so), can you please make the extension work in Brave?

Flood and Flood's wife
Posted
5 minutes ago, Mehmet said:

Since there is no compatibility issue (apparently so), can you please make the extension work in Brave?

Hello @Mehmet

Welcome!

  • Kaspersky is aware of the issue, please read any of the numerous topics that have been previously raised: Brave
  1. IF (you) wish for the software to be enhanced, (you're) welcome to log a request with Kaspersky Customer Service: https://support.kaspersky.com/b2c#contacts - select Email or Chat, then select Feedback, I have a Suggestion, or Feedback, I have a Complaint template, fill in (your) Kaspersky software in the template (A
  • Note, not all requests/suggestions are implemented & those that are, may take a long time, sometimes a very long time

image.thumb.png.7fe100a4f50c0f9a5d1ad03ced78cba2.png

Thank you🙏
Flood🐳+🐋

  • Like 3
CLEsports
Posted

@Mehmet I made a simple PowerShell script to automate this and have it run every time I login.

###############################################
##      KIS Plugin workaround for Brave      ##
###############################################

## Kaspersky browser plugin doesn't officially work in Brave browser.  However, if the executable
## for Brave is renamed to chrome.exe, the KIS plugin magically works.  This script verifies that
## brave.exe matches the chrome.exe in the Brave Browser application directory & replaces it if not
####################################################################################################

$brave = "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe"
$chrome = "C:\Program Files\BraveSoftware\Brave-Browser\Application\chrome.exe"
# Get the file hashes
$hashSrc = Get-FileHash $brave -Algorithm "SHA256"
$hashDest = Get-FileHash $chrome -Algorithm "SHA256"

# Compare the hashes, copy files if different & log results
If ($hashSrc.Hash -ne $hashDest.Hash)
{
  Write-Host "Brave updated. Copying executable"
  Copy-Item $brave $chrome
  "Hash values of brave.exe and chrome.exe are NOT equal. Updated $((Get-Date).ToString())" | Out-File -FilePath C:\Apps\Brave-KIS-workaround.log
}

 

In TaskScheduler have it run at log on using the following parameters

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -file C:\Apps\Brave-KIS-workaround.ps1

Change file path at the end to wherever you decide to save the PowerShell script

You can also run it manually too as needed.

  • Like 1
  • 2 weeks later...
Posted

Thanks everyone. I have provided feedback on the issue.

@CLEsports thank you very much. Unfortunately I was not able to run the ps1 file. it seems there is a problem with Execution Policies. I will try again when I have time.

CLEsports
Posted
8 hours ago, Mehmet said:

@CLEsports thank you very much. Unfortunately I was not able to run the ps1 file. it seems there is a problem with Execution Policies. I will try again when I have time.

@Mehmet You may have to run it with Admin privileges or may have to make the following change (if it's your personal computer):

Quote
  1. Start Windows PowerShell with the "Run as Administrator" option. Only members of the Administrators group on the computer can change the execution policy.

  2. Enable running unsigned scripts by entering:

    set-executionpolicy remotesigned
    

This will allow running unsigned scripts that you write on your local computer and signed scripts from Internet.

See also Running Scripts at Microsoft TechNet Library.

 

  • Like 1
Posted

@CLEsports Thanks again. After some more research, I found another method. Instead of allowing all scripts, I used the command in the task scheduler to allow only the relevant script. "-executionpolicy bypass"

So it worked like this:
 

powershell.exe -executionpolicy bypass -file D:\Progra~1\BraveSoftware\Brave-Browser\Application\workaround.ps1

I'm happy to learn something new. I still wish Kaspersky would support all browsers, as befits its quality.

 

  • Like 1
Posted

or in addition to the @CLEsports script
i use a very simple file .bat:

Quote

rem Brave to CHROME
rem *****************

DEL "%PROGRAMFILES%\BraveSoftware\Brave-Browser\Application\CHROME.EXE"

COPY "%PROGRAMFILES%\BraveSoftware\Brave-Browser\Application\BRAVE.EXE" "%PROGRAMFILES%\BraveSoftware\Brave-Browser\Application\CHROME.EXE"

exit

  • Like 3

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...