It's much easier to detect the browser there, so let the extension write
a message with the browser name (mapped to Settings::Environment) to the
native host. Also add support for Vivaldi.
Details
Details
- Reviewers
broulik davidedmundson - Group Reviewers
Plasma - Commits
- R856:f01e3f0b98c0: Move browser detection to the extension
Installed the extension in Firefox 52, Opera 40 and Vivaldi 1.91,
the icons in krunner appear as expected.
Diff Detail
Diff Detail
- Repository
- R856 Plasma Browser Integration
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I noticed that the correct dir for the firefox native messaging host is not /usr/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json, but rather /usr/lib64/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json. I'm not 100% sure whether that's the case everywhere with a /usr/lib64 dir.
BTW: There's a typo in the author's mail address in manifest.json
extension/extension.js | ||
---|---|---|
55 ↗ | (On Diff #16724) | Please use braces also for one line statements |