GithubHelp home page GithubHelp logo

Comments (8)

undergroundwires avatar undergroundwires commented on June 2, 2024 1

Thank you for figuring this out and reporting back @maxysoft.

r.bing.com is now excluded with the added documentation (see at the end):

image

It will be released in next patch.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

This is most likely related to a host entry under Block tracking hosts category. Try to revert those and please share if you figure out which host exactly is blocking copilot as side-effect so we can document/discourage or remove that host.

from privacy.sexy.

MohamedMehrath avatar MohamedMehrath commented on June 2, 2024

I reverted all Block tracking hosts and re-enabled each one, and I ended up enabling all of them again, fixing the problem.
Edit: Afrer restarting my pc the bug came back.
Edit 2: After taking a look at the scripts of Block tracking hosts, I used Ctrl + F searching for bing, I found 10 results in Block Cortana and Live Tiles hosts.
I reverted Block Cortana and Live Tiles hosts script and now it's working fine.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

Thank you for the insights.

I cannot reproduce this. But it would be appreciated if you could test which host is causing this exactly (which bing host), so we can exclude it from privacy.sexy or document the behavior.

I cannot test this because for me, Copilot on Edge through Bing works when all hosts including "Block Cortana and Live Tiles hosts" are blocked:

image

from privacy.sexy.

maxysoft avatar maxysoft commented on June 2, 2024

There is r.bing.com that needs to be removed from hosts to make copilot works

from privacy.sexy.

joethesaint avatar joethesaint commented on June 2, 2024

Now that it has been excluded, how then can we that are facing the issue fix it?

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 2, 2024

The fix is released since 0.13.3 🎉.

Here's the revert code for r.bing.com for those who wants to allow r.bing.com back (@joethesaint):

PowerShell -ExecutionPolicy Unrestricted -Command "$domain ='r.bing.com'; $hostsFilePath = "^""$env:WINDIR\System32\drivers\etc\hosts"^""; $comment = "^""managed by privacy.sexy"^""; $hostsFileEncoding = [System.Text.Encoding]::UTF8; $blockingHostsEntries = @(; @{ AddressType = "^""IPv4"^"";  IPAddress = '0.0.0.0'; }; @{ AddressType = "^""IPv6"^"";  IPAddress = '::1'; }; ); try {; $isHostsFilePresent = Test-Path -Path $hostsFilePath -PathType Leaf -ErrorAction Stop; } catch {; Write-Error "^""Failed to check hosts file existence. Error: $_"^""; exit 1; }; if (-Not $isHostsFilePresent) {; Write-Output 'Skipping, the hosts file does not exist.'; exit 0; }; foreach ($blockingEntry in $blockingHostsEntries) {; Write-Output "^""Processing removal for $($blockingEntry.AddressType) entry."^""; try {; $hostsFileContents = [System.IO.File]::ReadAllText($hostsFilePath, $hostsFileEncoding); } catch {; Write-Error "^""Failed to read the hosts file for removal. Error: $_"^""; continue; }; $hostsEntryLine = "^""$($blockingEntry.IPAddress)`t$domain $([char]35) $comment"^""; if ([String]::IsNullOrWhiteSpace($hostsFileContents) -Or (-Not $hostsFileContents.Contains($hostsEntryLine))) {; Write-Output 'Skipping, entry not found.'; continue; }; $hostsEntryRemovalPattern = [regex]::Escape($hostsEntryLine) + "^""(\r?\n)?"^""; $hostsFileContentAfterRemoval = $hostsFileContents -Replace $hostsEntryRemovalPattern, "^"""^""; try {; [System.IO.File]::WriteAllText($hostsFilePath, $hostsFileContentAfterRemoval, $hostsFileEncoding); Write-Output 'Successfully removed the entry.'; } catch {; Write-Error "^""Failed to remove the entry. Error: $_"^""; continue; }; }"

from privacy.sexy.

joethesaint avatar joethesaint commented on June 2, 2024

from privacy.sexy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.