<div dir="ltr"><div><div><div>Hey all,<br><br></div>We'd like to add project plasma-browser-integration into KDE[0]. <br><br>The goal is to make chrome and firefox integrate better into a Plasma desktop environment through browser extensions.<br><br></div><div>How?:<br></div><div>Firefox and chrome (and potentially others) allow plugins to talk to a native binary host [1]. This binary host is launched by the the browser and has a socket to a conventional browser extension. This project consists of both parts allowing a chrome extension to make normal DBus calls to services just like other apps.<br></div><div><br></div><div>Integrating what?:<br></div><div>This gives us the following features:<br></div><div> - Finding open tabs via krunner<br> - Download progress in the task bar</div><div> - Showing now playing information with shortcuts (if the website supports it)<br></div><div> - "Send to KDE Connect" context menu on links<br></div><div> - Loading windows on the correct activity (WIP)<br></div><div> - An SNI if incognito windows are open with action to close them.<br></div><div><br></div><div>And potentially more in the future. There is a config to enable/disable parts as appropriate.<br></div><div><br></div><div>Deployment:<br></div><div> This repo consists of two parts. The binary host which should be distributed by normal distro means, and the browser extension which is going to be different.<br><br></div><div>The browser extension can be deployed in one of 3 ways.<br></div><div> - manually by the user from the code (useful for devs)<br><br></div><div> - through the webstore [2][3]<br></div><div></div> - chrome also has a feature where we can ship a text file on the distro side that will make the browser automatically fetch an extension from their store.<br></div><div><br>Ideally we want the extension available on the store from an official KDE channel.<br><br> - potentially it could also be done by the distro, but it seems like FF might be removing that possibility and the digital signing is an issue.<br></div><div></div><div><div><div><div><div><br>[0] <a href="https://cgit.kde.org/plasma-browser-integration.git/">https://cgit.kde.org/plasma-browser-integration.git/</a><br>[1] <a href="https://developer.chrome.com/extensions/nativeMessaging">https://developer.chrome.com/extensions/nativeMessaging</a><br>[2] <a href="https://chrome.google.com/webstore/detail/plasma-integration/cimiefiiaegbelhefglklhhakcgmhkai">https://chrome.google.com/webstore/detail/plasma-integration/cimiefiiaegbelhefglklhhakcgmhkai</a><br>[3] <a href="https://addons.mozilla.org/en-US/android/addon/plasma-integration/?src=cb-dl-updated">https://addons.mozilla.org/en-US/android/addon/plasma-integration/?src=cb-dl-updated</a><br><br></div><div>Regards <br><br></div><div>David and Kai<br></div></div></div></div></div></div>