question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Safebrowsing removal in windows

See original GitHub issue

Why does windows build require more in depth removal of safebrowsing compared to other platforms? Would insertion of windows-fix-building-without-safebrowsing.patch to other platform builds results in better safebrowsing removal since big part of code removed is not windows specific?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Luka-Filipoviccommented, Sep 19, 2020

I will give it a try applying it on macos build. So far I realised everything in fix-disabling-safebrowsing.patch in macos repo is done in windows-fix-building-without-safebrowsing.patch as well, and there’s probably something similar in linux repos.

0reactions
Elostoncommented, Sep 27, 2020

@Eloston can this issue be moved to core repo?

The core repo currently lives under my personal account, whereas this repo lives under the ungoogled-software organization. GitHub won’t allow me to move issues across users/organizations. As a workaround, we could cross-link this issue to a new one, but I don’t think that’s immediately necessary.

As far as I know, no similar patch is required to build on Linux.

The reason I suggested the idea is we will sometimes have obscure crashing bugs (e.g. migrating Chrome profiles to ungoogled-chromium) because we don’t completely patch out the components we do not want. Technically it is safer to completely remove components we do not want, because it forces us to properly fix all code paths during compile time.

However, I agree with your point that our current development workflow would make updates prohibitively slow. Considering the majority of use-cases (most don’t migrate profiles from Chrome) and platforms we support (Linux is probably the most popular in our user base), it is probably not a good idea to merge this Safe Browsing patch into the main repo right now. I’ll expand on this point a bit more below.

As for headers removal, maybe it could be automated to remove certain headers in certain files?

This is a part of my idea in https://github.com/Eloston/ungoogled-chromium/issues/1087. In theory, that new tool would make it feasible to maintain a huge Safe Browsing patch. However, we’d need to do quite a bit of research first to test the feasibility of the tool. For example, I’m interested to see how practical it is to use AST representations of the C++ code to automate common patch-breaking code changes.

In summary, I don’t think there’s much we can do about this issue until we develop that better tool. Of course, I’m also open to other suggestions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safe Browsing by Safely Browser Hijacker - Simple removal ...
Right-click on the Start icon, select Apps and Features. In the opened window search for the application you want to uninstall, after locating ......
Read more >
How to uninstall (remove) Safe Browsing
Click on the Start button (or press the Windows key) to open the Start menu and click on the Settings at the top....
Read more >
Safebrowse.io Redirects Virus Removal Guide [Free Uninstall ...
How to Remove Safebrowse.io from Windows. ... 2. The "Run" Window will appear. In it, type "msconfig" and click OK. ... 3. Go...
Read more >
Enable or Disable Safe Browsing in Google Chrome (2022)
How to Disable Safe Browsing in Google Chrome · Type and search 'Regedit' in the search bar of your Start Menu. · Copy...
Read more >
How to disable or enable “Safe Browsing” on Google Chrome?
Method 2. Disable or Enable Through the Registry Editor · Press Windows + R, and type in Regedit and click OK · Copy-paste...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found