Comments (5)
Good idea. Note that this would require a new permission for clipboard access likely, but that can (and should) be optional, so that's not a big deal.
HowTo
I imagine a setting with a checkbox:
- Use clipboard content when opening popup.
If you enable that, instead of using the tab URL it should override it (if required also possible with a message from the background script or so with the clipboard content.
If a permission is required, one can couple it in this extension with the PermissionRequest library (also used in other extensions, if one needs to get an example).
Important things:
- If the clipboard is empty, it should IMHO still fallback/use the website URL then as usual!
- If some text is selected and the option in the settings is enabled (as usual), this should take preference over the clipboard content IMHO.
Reasoning: The thing is the clipboard is likely to contain outdated stuff, even passwords or so, which you have copied a quite long time ago, while a text selection on the website is much less permanent (i.e. goes away fast when you have to interact in some other way with the site) and selecting something may be a way more deliberate act than just copying sth. in another application even possibly or so. - if a new permission is required please document it/why for the user.
That all said, I guess this is a good „good first issue“ thing if someone wants to really implement it. Note though, it may be not the easiest one, as one has to touch a few topics (settings, actual logic etc.) that are simplified due to the libs we use, but may still require some clever ideas or so.
from offline-qr-code.
New open source dev here, can I try this one?
from offline-qr-code.
Can I work on this?
from offline-qr-code.
Hi oh sorry for the delay, missed my notifications, yes you can both try. However, @Ravina-Deogadkar I just saw @frooia already did a PR in #286, so that is the base for implementation.
I thus will assign @frooia first, but if help is needed, of course I assume @Ravina-Deogadkar you can jump in and help here. Feel free to test or review the PR, BTW.
from offline-qr-code.
So @GrupaIMEX and @Ravina-Deogadkar if you want to take over/finish the PR #286 feel free to do so. There should just be some minor work to do.
from offline-qr-code.
Related Issues (20)
- QR code flickers on resize of the window HOT 2
- To disable it in context menu HOT 2
- Saving and copying of results. HOT 1
- Recreate screenhots and screencasts in new Firefox design HOT 15
- The "like addon" tip is too aggressive/too often shown HOT 9
- Extract information from a QR Code picture (.svg / .png / etc. ) HOT 2
- Save Page with Overlaid QR Code HOT 3
- Support define text template for generate similar QRs HOT 4
- Save QR SVG to copy-paste clipboard HOT 5
- Can we have a function to READ QR Codes as well HOT 2
- Updated translations for 'zh_TW': zh_TW HOT 1
- QR-code window does not open HOT 1
- Add shortcut icon to the address bar HOT 1
- Updated translations for 'uk': Ukrainian (Українська) HOT 1
- Configuration for hiding random tips HOT 1
- The undo button is too far from reset button HOT 10
- Automatically retrieve text from clipboard and generate QR - (pl) Automatycznie pobieraj tekst ze schowka i generuj QR HOT 3
- Encrypted exchange by QR-code channel HOT 5
- Spanish translation contribution HOT 8
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 offline-qr-code.