Skip to content

Comments

FEAT: Chrome Extension#881

Draft
steven-tey wants to merge 1 commit intomainfrom
extension
Draft

FEAT: Chrome Extension#881
steven-tey wants to merge 1 commit intomainfrom
extension

Conversation

@steven-tey
Copy link
Collaborator

@steven-tey steven-tey commented May 10, 2024

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

@vercel
Copy link
Contributor

vercel bot commented May 10, 2024

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

@socket-security
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/react-dom@18.3.0 None 0 37.8 kB types
npm/@types/react@18.3.1 None +1 444 kB types
npm/extension@1.4.6 environment Transitive: eval, filesystem, network, shell, unsafe +833 164 MB cezaraugusto
npm/react-dom@18.3.1 environment +1 4.61 MB react-bot
npm/react@18.3.1 environment 0 318 kB react-bot
npm/tailwindcss@3.4.3 environment, filesystem Transitive: network, shell, unsafe +89 15.2 MB adamwathan
npm/typescript@5.3.3 None 0 32 MB typescript-bot

View full report↗︎

@socket-security
Copy link

🚨 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/core-js-pure@3.37.0
  • 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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js-pure@3.37.0

@Dhravya
Copy link

Dhravya commented May 13, 2024

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

(btw thanks for the mention!)

@Akshat76845
Copy link

.

@Surajdusane
Copy link

finally i create chrome extension as per your requirements Surajdusane/Dub.co-Chrome-Extension after 3-4 days i published this on chrome webstore

@steven-tey steven-tey force-pushed the main branch 2 times, most recently from ea17ddf to f7d87c3 Compare August 24, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for chrome extension

4 participants