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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

My first Chrome Extension. Looking for constructive criticism and advice

5 点作者 kylekampy超过 10 年前

2 条评论

kylekampy超过 10 年前
I know the permissions are overbearing. The reason it requests permissions for all sites instead of just the supported players is because of the way Chrome updates extensions. If I were to go that route and at some point add another player (which happens often), Chrome would disable the extension for everyone until they re-approve the changed permissions.<p>I believe there is a way to do it dynamically and allow the user to choose which players they want to allow access to, and then accept the changed permissions. However a majority of my user base will not care, and would actually prefer the one click install ease of use. At least that&#x27;s my reasoning.<p>For those of you really concerned, you can download the source and modify manifest.json to change where the contentscript is injected for peace of mind. <a href="https://github.com/kkamperschroer/Musicality" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kkamperschroer&#x2F;Musicality</a>
评论 #8310248 未加载
flippyhead超过 10 年前
Right off the bat, I spent 5 seconds looking at the plugin page and wasn&#x27;t immediately sure what the plugin does. There&#x27;s a list of features starting with &quot;Playback Controls&quot; and &quot;Now playing information&quot;... I assume it&#x27;s a music player maybe? I&#x27;d suggest working up a short, succinct sentence that explains in very simple terms what the plugin does and make sure it&#x27;s the thing I first see!
评论 #8310033 未加载