MacEnhance/MacForge

MacForge injection causes Safari webkit error

sedaray opened this issue · 6 comments

Bug Report

Current Behavior
Safari Error on every page:

Safari Can’t Open the Page
Safari can’t open the page “http://zydecopartyband.com/”. The error is: “WebKit encountered an internal error” (WebKitErrorDomain:300)

To Reproduce
Steps to reproduce the behavior:

  1. MacForge enabled, start Safari.
  2. Error - on any page.
  3. If I go to MacForge menu and check "Disable Injection", and restart Safari, error no longer appears.
  4. Once Safari is running with no error, I can toggle on/off the "Disable Injection" with no errors.
  5. After a few toggles, Safari simply refuses to load pages, no matter the "Disable Injection" status.
  6. I am using only "Colorful Sidebar X" and "Color Menu Items" - I need color and would rather use these plugins than use Safari. In fact, I so rarely use Safari that I only discovered this problem up to a year after installing MacForge.

Expected behavior/code
Safari to load web pages

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • MacForge version(s): v1.1.0(5977)
  • OS version: MacOS 12.6]
  • Plugins: "Colorful Sidebar X" and "Color Menu Items"

Possible Solution

Additional context
I have two Mac Minis with the same system and same plugins and same problem.

I have XtraFinder installed for the same purpose of color sidebar items, but MacForge plugins also helped with finder dialogues, for instance "Export As" and then finding a colorful folder icon in the finder list, rather than sorting through generic folder icons.
I don't have it running on this computer. On my old High Sierra 5,1 Tower I use XtraFinder and Safari with no errors, just fyi.

I just quit xtrafinder and started up MacForge on my High Sierra machine and the finder quit altogether and I had to restart. I'm not eager to experiment more on that machine. I will remain aware.

Same problem +1

AOx0 commented

Same over here.

Same problem. Is there any way to disable injection on startup by default?

Simply uncheck the box in the plugin prefs could disable the injection.
截屏2023-02-21 11 40 52

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me.
Environment: macOS 13.5 with M2 Pro

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

In what method to add "com.apple.WebKit.Networking" to blacklist? I found no option in System > application blacklist.