Skip to content

NicoVIII/url-rotation-browser-extension

Repository files navigation

Url Rotation

Latest release GitHub Actions Build Last commit

This is a browser extension in development which can be used for screens which should show different urls. It is made for Firefox but is theoretically compatible with Chrome.

It is inspired by Tab Rotate for Chrome.

Download

  • Url Rotation (Firefox Add-Ons)
  • The extension itself is Chrome-ready, but to register an account to publish it, you have to pay money Therefore I will not do that without a good reason.

Usage

To use the extension, first install it (either as a temporary addon or from extension store). Then open the preferences of the extension and configure it like you need it. After that you can click on the icon in the extension bar and start presenting the configured urls.

If you change the tab or close one of the tabs managed by the application, the playback will stop and needs to be started again. The current state of the extension is easily seen at the icon. It will show a play button if it is paused and a pause button if the rotation is running.

Development

This diagram can give a hint about the structure of the repository. Each filled circle is a file. The size of the circle corresponds to the size of the file. The color indicates the type (have a look at the legend in the bottom right). The circles around those filled circles are the folders.

Visualization

Get started

To jump into this it is highly recommended that you use VScode and the provided devcontainer. You need VScode (with "Remote - Container" extension) and a running Docker setup. After you open the cloned repo in VScode you can enter the devcontainer with the "Remote Containers: Rebuild and Reopen in Container" command from the command palette (if you don't know how to open it: View > Command Palette...).

Work with the code

When you want to start working with the code, you can build this project and enter watch mode with dotnet run watch. After that you can open about:debugging in Firefox and add the manifest.json in the root of the project as a temporary extension for testing. You should consider reloading the extension and maybe option page to see your changes and use the "Inspect" for the extension to see output from the background script.

Commands

If you want to enter watch mode, run dotnet run watch. If you want to just build once, run dotnet run build. If you want to pack the extension ready to use (for Firefox only atm) you can run dotnet run pack.

About

Browser extension to rotate through a set of given urls. Especially useful for screens.

Topics

Resources

License

Stars

Watchers

Forks