GithubHelp home page GithubHelp logo

bakkerme / right-click-enhancer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 453 KB

A WebExtension for Edge, focused on providing useful additions to the right click menu

License: GNU Affero General Public License v3.0

JavaScript 79.58% HTML 3.86% Shell 8.37% PowerShell 8.19%

right-click-enhancer's Introduction

right click enhancer

Right Click Enhancer

Right Click Enhancer is a WebExtention for Microsoft Edge that adds handy features to the context menu.

This is a work-in-progress and more features will be added if it sounds good and useful. This extension is available on the Microsoft Store.

English badge

Features

  • Can open a valid but unlinked URL in the page by highligting it
  • Can open an image in a new tab
  • Can save an image without it being renamed and converted to a PNG while in InPrivate mode
  • ...and more to come

Developing

These scripts were designed to be run in Windows Subsystem for Linux, but will probably work in Cygwin or a Linux VM. The Powershell scripts do need to be run in Windows, however.

Opening in developer hotreloading mode

npm install
npm start

This will create a build folder, which you then add into Edge via the Extensions menu. You will need to switch on extension developer features in about:flags if you haven't already. Dev mode has hot reloading and other nice things.

Creating a developer build

npm install
npm run build

Much like above, this will create the build folder, but doesn't hot reload or rebuild on save.

Production Build

You will need the Windows SDK installed for this.

Run:

npm run build-prod

An edgeExtension.appx will result in ./RightClickEnhancer/edgeextension/package. This is an unsigned appx package, ready for submission to the Microsoft Store, if you have the required rights to submit an Edge extension.

Signing for testing

In order to install the package created above, you will also need to sign the package with a certificate. I've assumed that the Windows SDK is installed at C:\Program Files (x86)\Windows Kits\10\bin\x64\, this may or may not be valid. If you don't have any exes in there, check one of the build folders in that dir.

Open an administrator Powershell and run

npm run create-and-trust-certs
npm run sign-appx

This will create a keys/ folder and create the certificates and trust them, then sign the previously created appx. This may open your computer to risk, please make sure you know what this means.

By double clicking the edgeExtension.appx package, you can install the package.

right-click-enhancer's People

Contributors

bakkerme avatar

Stargazers

 avatar

Watchers

 avatar

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.