TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to Easily Convert Any Bookmarklet to Chrome Extension (+ source code)

52 点作者 legierski超过 13 年前

4 条评论

acqq超过 13 年前
I don't know anything about Chrome extensions but I know that typical bookmarklets function in all browsers. So my question is: why? Why not just using bookmarklet as is?
评论 #3504642 未加载
评论 #3504701 未加载
rmateu超过 13 年前
Brilliant! thanks. I've been planning on converting some of my markdown bookmarklets for blogging (<a href="http://5typos.net/post/259552063/bookmarklets-for-text-manipulation" rel="nofollow">http://5typos.net/post/259552063/bookmarklets-for-text-manip...</a>) for some time, but was too lazy to checkout the specs. No excuse now.
ck2超过 13 年前
I've always been annoyed in Firefox and now apparently Chrome that you cannot just have a simple, single-file extension if you don't need any external files.<p>Why can't it just regex the manifest, etc. from the extension header in a comment field.
jenningsjason超过 13 年前
Does something like this exist for Safari or Firefox?