Git Product home page Git Product logo

kdeactivitiesfirefoxaddon's Introduction

KdeActivitiesFirefoxAddon

KdeActivitiesFirefoxAddon is a Firefox Add-on to add rudimentary support for KDE Activities.

Opening a link (from an external application) will now always open this link in a Firefox window on the current Activity. This is done by moving the tab to either a new window or an already existing window on the current Activity.

This Add-on consists of two parts, the Firefox Add-on (WebExtension) and a native component. The native component is required to know what window is on which Activity.

If you open multiple Firefox windows simultaneously (e.g. on session restore) it is hard for the native component to distinguish them. To prevent confusion in this case the Add-on opens a special tab in every window (with a different id per window) and closes right away again.

Links

How to build

git clone "https://github.com/Scheirle/KdeActivitiesFirefoxAddon.git"
cd KdeActivitiesFirefoxAddon
mkdir build

How to build the WebExtensions add-on

cd ./addon/
web-ext build

Getting started with web-ext

How to build the native component

cd ./build/
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install

Dependencies

Develop / Test

Start firefox and browse to about:debugging. Add this add on temporary by selecting a file from the KdeActivitiesFirefoxAddon/addon/ subdirectory.

Alternatively you can run web-ext run in KdeActivitiesFirefoxAddon/addon/.

kdeactivitiesfirefoxaddon's People

Contributors

scheirle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kdeactivitiesfirefoxaddon's Issues

New Window on Activity does not work reliable

In some cases opening a link in an activity without an firefox window opens the link in an window on a other activity.

The Problem is, that sometimes after opening a link the activity gets switched automatically.
Therefore the native component thinks that the new tab is on the "correct"/current activity and does nothing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.