Git Product home page Git Product logo

powerlet's Introduction

Powerlet

Chrome Extension to quickly find and run bookmarklets.

Available on Chrome Web Store

Screenshot of the extension showing search results

Requirements

  • NodeJS >=10.16
  • Google Chrome or Firefox

Setup

Create an .env file at the root of this repo directory.

Currently the only environment variable is STATS_DOMAIN and is not required to run the project.

$ touch .env

Install the dependencies.

$ npm i

Run build to compile the extension to ./dist.

$ npm run build

After the extension has been built, load it in a browser.

Loading extension in web browser locally

❗️Run the build script at least once before loading extensions into the browser.

Google Chrome

  • Navigate to chrome://extensions/
  • Toggle on "Developer mode"
  • Click "Load unpacked"
  • Select the /dist folder

Firefox

  • Navigate to about:debugging#/runtime/this-firefox
  • Click "Load Temporary Add-on..."
  • Select any file in the /dist folder

Documentation

powerlet's People

Contributors

anthonyec avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aryeh

powerlet's Issues

Localise extension to Japanese

Summary

A recent turn of events means that currently the majority of the users of this extension are from Japan. It makes sense then that the copy is translated to Japanese.

Todo

  • Find all copy and add localisation files
  • Work with someone who knows Japanese
  • Add Japanese translations
  • Translate the web store description (use article as a guide of what to say)
  • Ensure characters work well in bookmarklet titles (I've stress tested with Chinese characters so I think it should be fine, but always good to double check)

Feedback / Feature Requests

Thanks for this lovely extension, I've been looking for something like this for a while.

Have you considered expanding the search to regular bookmarks as well? VSCode's quick open dialog searches for files by default and typing > searches for commands. Something like this would be great for keyboard navigation. Perhaps using Cmd+K for bookmarks and Cmd+Shift+K for bookmarklets.

I see that not all bookmarklets work transparently. For example: trying to use jQuery ($) from a page that has it exposed globally works when clicking from the bookmark bar but not from the extension. Is this a limitation from the extension environment?

I noticed references to a code editor in the source. Are there plans to allow editing bookmarklets as well? That would be awesome!

Keyboard Shortcuts for Firefox

Hi there!

Are firefox shortcuts configurable? I haven't been able to find out how and the current shortcut conflicts with "new private window".

Thanks!

Light theme toolbar icon is not visible in incognito mode

Problem

Black toolbar icon is used in incognito mode.

image

Reproduce

  • Allow extension in incognito mode
  • Use the default light theme (black icon)
  • Open incognito window
  • Observe the black icon is not very visible on the dark window chrome

Default shortcut conflicts with shortcuts in browsers / OS shortcuts

Problem

  • In Firefox, pressing Command+Shift+P opens incognito window instead of the extension.
  • In Chrome on Windows, pressing Ctrl+Shift+P opens the print dialog.
  • In Chrome on Mac, pressing Command+Shift+P while the dev tools are open displays the command palette.

I think there needs to be a new shortcut that conflicts the least with stuff.

Slack uses Command+K which opens up a command palette, so it's similar, and I don't think this shortcut is used elsewhere in browsers.

Command + K in Firefox focuses the address bar :(

Readability Bookmarklet Fails to Run

Hi there, thanks so much for your work on this extension! Without it I'd have to switch from Arc back to Chrome.

For some reason I can’t get this Readability bookmarklet to work in Powerlet. (For reference, the source is here on GitHub.)

It works as a normal bookmarklet in Chrome, but when I try to run the script from Powerlet, I get Uncaught ReferenceError: Readability is not defined in the console. This happens in both Arc and Chrome.

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.