BadWolf Frequently Questioned Answers
§ But isn't WebKit basically Blink/Chromium?
Nah, Google pretty much never really used WebKit without patching it and they hard forked it around 2010, so right when HTML5 and related arrived, thus helping the gap form, with differencies like:
- Replacing JavaScriptCore to V8
- Removing the
-webkit-*
prefixes in CSS - Moving the plugin API from Netscape Plugin API to Pepper Plugin API
- Creating their own API for extensions
- Tracking and concerning APIs like WebUSB, which on the other hand WebKit stands against
- Shoving so much code in it that it ends up being comparable to an operating system but with weekly releases
Oh and Blink basically doesn't exists in a standalone manner, so browsers like Opera or Edge are based on chromium rather than just mere Blink.
Doctor Who (2005), Season 3, Episode 10 [~ 00:33]Don't blink. Don't even blink. Blink and you're dead. They are fast, faster than you could believe, don't turn your back, don't look away, and don't blink.
Good luck.
§ Security
In the alternative browsers scene, actual security/privacy based on source code and programs architecture, rather than pure (dis)belief of trust is a major catastrophy and the internet commenters gets it wrong almost all the time.
- Since mozembed/XULRunner's death (~2015) most firefox-based browsers never get security fixes on time, specially the meme ones (Waterfox, Palemoon, Basilisk, GNU IceCat, …) and they tend to add security issues. Only exception is the Tor Browser, which I would highly recommend using.
- Mozilla likes to install blobs (EME, Google adb, OpenH264 in a way) and ask for backdoors, remember Firefox Study that was advertised to patch your browser when they failed the basic management of renewing a certificate for the second time and where you ended up with all your addons disabled? (except sideloaded ones but that feature got removed because of broken operating systems such as Microsoft Windows)
- QtWebKit has yet to make a release without already known security issues, this has been going on for years
- QtWebEngine is doomed to never get security fixes discovered in the Chromium Project (it's upstream) released on time since the releases are synchronised with the rest of Qt
- WebKit is basically the only engine out there that tries to reuse known good code from others rather than doing it's own code, which also means much easier audits
- Google, through the Chromium Project is the one pushing for a lot of dangerous APIs, stuff like EME, WebUSB, … are from them
The GTK and WPE APIs of WebKit might not be very popular (hard to find numbers, GTK is on Unix desktops, WPE is on embeddeds), but WebKit has a good user share through Safari (20~30%, what was once Firefox's userbase, which is 7% and descending), which makes them audited by stuff like Google's Project Zero. Only reason I could see why internet commenters so often claims WebKit as insecure is because it's how they could execute exploits on Video Consoles, which in my opinion has more to do with their operating system (I got "root" on my Nintendo 3DS via the music player…) and update model (it's easier to push an exploit than update the system of a Nintendo 3DS).
Now, on browsers that I would actually trust as secure rather than just believe them to be good enough? Well, for starters, the ones without any JavaScript, not that JavaScript is evil, it's a terrible language but there is a lot of those out there, the problem is that there is way too many dangerous APIs getting added and with barely enough protections.
Sadly a lot of websites requires JavaScript and you can't always get away from them. Good part? WebKit doesn't implements the APIs that can be security treatening and avoids anti-privacy ones, for example WebUSB got basically instantly rejected as dangerous.
§ AdBlocker?
As mere JavaScript blocking isn't enough, BadWolf includes support for WebKit's content-filters, this allows to block unwanted content (ads, nagware, ...) directly into the engine.
The file is at ${XDG_CONFIG_HOME:-$HOME/.config}/badwolf/content-filters.json
For some introductory information about the format see: Introduction to WebKit Content Blockers, Targeting Domains with Content Blockers, Creating a Content Blocker.
For a converter using AblockPlus-style filters, try: https://gitlab.com/eyeo/adblockplus/abp2blocklist
For a ready-to-use file (that you should update periodically), try: https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json
§ How good is it's privacy?
It's an in-between Tor Browser and your regular browser and much better than most other WebKitGTK browsers out there since day 1. Tor Browser stands for anonymity by having everyone get the same fingerprint over the Tor network. Badwolf is for when you don't use the tor network (for any reason) and thus need a more normal fingerprint depending on your region (ie. languages and timezones) while still having reasonable privacy.
§ How good is it's web compatibility?
Outside of websites and webapps that are outright hostile to WebKit it's been doing pretty well, only time during 2020 that I launched another web browser it's lynx to get even less web or Firefox/Chromium for WebRTC things like BigBlueButton and Jitsi Meet (WebRTC should get there thanks to GStreamer).
§ How do you play audio/video files?
*Sigh* You'll need plugins for gstreamer, gentoo has a metapackage to help named media-plugins/gst-plugins-meta, I'm not aware of other distros/ports offering such a useful package, otherwise install at least those:
gst-plugins-vaapi: For hardware video accelerationHas been source of rendering issues, WebKitGTK 2.36.3+ stopped using it- gst-plugins-libav: For H.264 video decoding (uses ffmpeg)
- gst-plugins-good: See splits
- gst-plugins-bad: See splits
- gst-plugins-ugly: See splits
And if your distro does split gstreamer:
- gst-plugins-vpx (gst-plugins-good) VP8/VP9 encoding/decoding
- gst-plugins-hls (gst-plugins-bad) HTTP Live Streaming
- gst-plugins-dash (gst-plugins-bad) MPEG-DASH streaming
- gst-plugins-faad (gst-plugins-bad) AAC (common in MP4 videos) decoder
- gst-plugins-opus (gst-plugins-base) Opus
- gst-plugins-mpg123 (gst-plugins-good) MP3 decoder
- gst-plugins-modplug (gst-plugins-bad) MOD/XM/… (soundtracker files) audio decoder
- gst-plugins-webrtc (gst-plugins-bad) WebRTC (not used yet)
Take a look at WebKit's Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
starting around line 250 to get a full list of the supported mime types.
§ Search Engine support? (search entry)
No, I do not want to support/promote such tools until a good implementation appears (not looking for suggestions). Your own SmartBookmarks keywords (so like entering wp lolcat
in the location entry to go to Lolcat - Wikipedia) are gonna be supported though.
§ vi keybindings
Maybe in a branch / future config option if someone steps in but otherwise I'm not going to provide some half-assed keybindings (I do use vi editors but never it's style of keybindings outside of the editor)
§ Ressource Usage
In my experience: CPU usage in pretty low, memory usage is about as high as others (me hyperusing the separated contexts doesn't help), disk usage is basically non-existant.
§ Configuration
Most of the UI/UX stuff is already exposed via GTK and BadWolf's interface.css
file. It's own configuration is gonna come once I find a reasonable way to have a plain-text config editable by a settings manager.