Google Chrome扩展程序 - 项目指南 [英] Google Chrome Extension - Project Guidance

查看:106
本文介绍了Google Chrome扩展程序 - 项目指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我是一名新手开发人员,在我上学期间想到了一个项目。我想在整个夏天建造。



我正在寻找关于如何打破这个想法以及首先要开始建设的一些指导 - 我知道什么我想做,只是不确定如何开始/我的扩展应该是什么。



我想构建一个启用此功能的chrome扩展:



- 用户突出页面上的文字

- 用户按下一个键序列(例如Ctrl-shift-J)

- 扩展程序检测到密钥序列并将URL和所选文本存储在弹出窗口中,单击扩展按钮即可访问



谢谢你提前!

Hello all,

I am a a newbie developer and thought of a project while I was in school. I'd like to build over the summer.

I'm looking for some guidance on how to break this idea down and what to start building first - i know what I want to do, just not sure how to start / what the pieces of my extension should be.

I would like to build a chrome extension that enables this functionality:

- A user highlights text on a page
- The user presses a key sequence (e.g. Ctrl-shift-J)
- The extension detects the key sequence and stores the URL and selected text in a pop-up window accessible by clicking the extension button

Thank you in advance!

推荐答案

请从这里开始:

https://developer.chrome.com/extensions/getstarted [ ^ ],

https://developer.chrome.com/extensions/devguide [ ^ ]。



询问如何开始是一个根本错误的想法。编程不是一套烹饪食谱;和烹饪也没有一套烹饪食谱;这两件事都是基于对原则的理解。在你开始的地方并不是那么重要(不计算你必须从一些阅读开始,我认为这应该是显而易见的),重要的是你要明白你在做什么以及为什么。



-SA
Please start here:
https://developer.chrome.com/extensions/getstarted[^],
https://developer.chrome.com/extensions/devguide[^].

Asking "how to start" is a fundamentally wrong idea. Programming is not a set of cooking recipes; and cooking also not a set of cooking recipes; both things are based on understanding the principles. It's not so important where you start (not counting that you have to start with some reading, I think this should be obvious), it's important that you understand what you are doing and why.

—SA


这篇关于Google Chrome扩展程序 - 项目指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆