dub icon indicating copy to clipboard operation
dub copied to clipboard

FEAT: Chrome Extension

Open steven-tey opened this issue 1 year ago • 6 comments

Build a Chrome Extension for Dub using extension.js.org.

An alternative is using CRXJS, which is used by @Dhravya is his awesome Supermemory project.

Closes #207 #875

A few more ideas:

  • Enable turning current page into short URL
  • Accepts URL as input and generate shorten URL without visiting dub dashboard (or can redirect to it with filled link)

Keyboard shortcuts for:

  • Open link search
  • Arrows for selecting the link
  • Hit enter to copy to clipboard and close

steven-tey avatar May 10 '24 13:05 steven-tey

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dub ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 2:02pm

vercel[bot] avatar May 10 '24 13:05 vercel[bot]

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

socket-security[bot] avatar May 10 '24 13:05 socket-security[bot]

If I could start again, i'd choose extension.js.org!

(btw thanks for the mention!)

Dhravya avatar May 13 '24 00:05 Dhravya

.

Akshat76845 avatar May 13 '24 23:05 Akshat76845