aboutsummaryrefslogtreecommitdiff
path: root/build/posts/safari-extensions-catalina-patcher/index.html
blob: 024a30fc23eea9915a9697143477e74efc2c1105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="color-scheme" content="dark light">
	<link rel="icon" href="data:,">
	<title>Enabling Safari Extensions with the macOS Catalina Patcher</title>
	<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
	<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
</head>

<nav>
	<a href="#menu">Menu &darr;</a>
</nav>

<main>
<h1 id="enabling-safari-extensions-with-the-macos-catalina-patcher">Enabling Safari Extensions with the macOS Catalina Patcher</h1>
<p>2021-09-23</p>
<p>I have an old 2011 MacBook Air that is running the latest version of macOS Catalina thanks to the very wonderful <a href="http://dosdude1.com/catalina/">Catalina Patcher</a> by dosdude1. This project has made it possible for me to run and test some of the latest software from Apple - namely Safari 15.</p>
<p>I ran into a small bug early on though – Safari extensions couldn’t be activated via the preferences menu. Luckily I discovered a very simple fix. My hope is this might help others (as small of a demographic that might be) who run into the same issue with the Catalina Patcher.</p>
<ul>
<li>Close&#47;Quit Safari completely</li>
<li>Open the Finder and use the shortcut <code>⌘ Shift G</code></li>
<li>Paste the following to navigate to the proper folder: <code>~&#47;Library&#47;Containers&#47;com.apple.Safari&#47;Data&#47;Library&#47;Safari&#47;AppExtensions</code></li>
<li>Open the <code>Extensions.plist</code> in your favourite text editor (I’m a big fan of Panic&#8217;s Nova)</li>
<li>Below each extensions <code>&#60;dict&#62;</code> tag, add the following: <code>&#60;key&#62;Enabled&#60;&#47;key&#62;&#60;true&#47;&#62;</code></li>
<li>Save the file and relaunch Safari</li>
</ul>
<p>Reference of what it should look like (AdBlock for this example):</p>
<pre><code>&#60;key&#62;org.adblockplus...&#60;&#47;key&#62;
    &#60;dict&#62;
        &#60;key&#62;AddedDate&#60;&#47;key&#62;
        &#60;date&#62;2021-09-23T14:00:47Z&#60;&#47;date&#62;
        &#60;key&#62;Enabled&#60;&#47;key&#62;
        &#60;true&#47;&#62;
    &#60;key&#62;WebsiteAccess&#60;&#47;key&#62;
    &#60;dict&#62;
        &#60;key&#62;Allowed Domains&#60;&#47;key&#62;
        &#60;array&#47;&#62;
        &#60;key&#62;Has Injected Content&#60;&#47;key&#62;
        &#60;true&#47;&#62;
        &#60;key&#62;Level&#60;&#47;key&#62;
        &#60;string&#62;All&#60;&#47;string&#62;
        &#60;&#47;dict&#62;
    &#60;&#47;dict&#62;
</code></pre>
<p>After following those simple steps you should have working extensions in Safari. Have fun on your old, &#8220;unsupported&#8221; Apple devices!</p>
<footer role="contentinfo">
    <h2>Menu Navigation</h2>
    <ul id="menu">
        <li><a href="/">Home</a></li>
        <li><a href="/projects">Projects</a></li>
        <li><a href="/uses">Uses</a></li>
        <li><a href="/wiki">Wiki</a></li>
        <li><a href="/resume">Resume</a></li>
        <li><a href="/colophon">Colophon</a></li>
        <li><a href="/now">Now</a></li>
        <li><a href="/donate">Donate</a></li>
        <li><a href="/atom.xml">RSS</a></li>
        <li><a href="#top">&uarr; Top of the page</a></li>
    </ul>
    <small>
        Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
        Maintained with ♥ for the web. <br>
        Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
        The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
    </small>
</footer>