Comments (1)
Thanks @ricobl, this is really great feedback!
Have you considered expanding the search to regular bookmarks as well?
I have thought about expanding to include Chrome functionality, like managing tabs and windows, opening specific settings etc. VSCode is a good example and it's technically straight forward to use any content in the search results. There are some questions around UX. For example, would existing users default to >
at the start of their queries?
But I like the idea, and if you think showing bookmarks would be useful then it'd be a good place to start. Especially since I'm not sure if this extension can work in it's current state with the upcoming Chrome extension API changes.
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?
Nice bug find! You're right, currently it is a limitation of how scripts are executed in Chrome. They have access to the page but live in their own separate world when it comes to accessing variables and functions. However, there are sneaky ways around this, so it's something I can look into.
I noticed references to a code editor in the source. Are there plans to allow editing bookmarklets as well? That would be awesome!
Yep, it's something I've been playing around with for ages! However, it's a very nuanced problem to format a bookmarklet for editing, and then convert back (my attempt so far). Not impossible, just requires a lot of testing to ensure I don't break everyones scripts. That fear has been keeping me from releasing something I'm happy with.
from powerlet.
Related Issues (20)
- Default shortcut conflicts with shortcuts in browsers / OS shortcuts
- Work out how to officially release for Firefox HOT 3
- Improve onboarding empty state when users have no scripts HOT 2
- Improve onboarding for people with existing scripts
- Improve extension description copy on web stores
- Check extension works with Manifest V3 HOT 3
- Run script on page load
- Manage scripts button
- Make sharing scripts easier
- Show message or disable extension when on Chrome pages
- Show somewhere what the shortcut is to activate the extension HOT 1
- Localise extension to Japanese HOT 1
- Add way to send feedback
- Update deprecated `tabs.executeScript` method to new API HOT 1
- Stats stopped on 11th September HOT 1
- Keyboard Shortcuts for Firefox HOT 2
- Bookmarklets unable to use existing global variables HOT 1
- Readability Bookmarklet Fails to Run HOT 1
- Bookmarklets don't execute in Arc browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerlet.