简体   繁体   中英

Help needed on writing extension for Google Chrome/Mozilla

I would like to create a extension for Google Chrome/Mozilla for the following requirement.
If I search for any text in a web page, If text is found then automatically background colour has to be added to that text.Basically it will be done by browser. But multiple searches are possible. So I need to make all the searched and found texts highlighted. I know very basics of writing extensions for Google chrome( I have learnt through http://code.google.com/chrome/extensions/getstarted.html ) . I have good knowledge on JavaScript. I don't have any basic idea to achieve the solution for my requirement. Please someone guide me on how to proceed further.

Although I don't have an answer for Google Chrome, making a Firefox addon is simple.

Take a look at the addon SDK and addon builder and the documentation for it . The first tutorial outlines the setups you will need to take and it should help get you started. Also, ou will probably need the page-mod library .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM