caio.co/de/arch/firefox

vendor.js: Use our own captive portal detection

Id
7fb2e0509ceae59f0301120ebe0525bfcdebbd0f
Author
Jan Alexander Steffens (heftig)
Commit time
2024-08-26T19:09:12+02:00

Modified PKGBUILD

@@ -252,6 +252,10

// Enable GNOME Shell search provider
pref("browser.gnome-search-provider.enabled", true);
+
+// Use our own captive portal detection
+pref("captivedetect.canonicalURL", "http://ping.archlinux.org/nm-check.txt");
+pref("captivedetect.canonicalContent", "NetworkManager is online\\n");
END

local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"