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.
Related
I am looking to make a chrome extension which is continuously scans the webpage I'm currently on, and looks for certain keywords that I type, and if those keywords are typed then do some action accordingly. How is this possible in JavaScript?
a rather simpler yet useful information would help a lot.
You will need to implement your keywords logic on content scripts.
If you need necessary information about chrome extensions - it can be found here.
At first you can look at extension documentation about content scripts and samples.
Documentation for extension API you can find here.
I was wondering if anyone could provide me with some links to some tutorials or explain (with some example code), how I would go about making a simple google chrome extension (or in any programming language or browser if that is impossible), how I would make an extension that can visit a specific site, fill a login form on that site, click some links and then do the same sort of thing on the linked to site.
Thanks
Personally, I would not use a chrome extension, but maybe a perl script. There is an extension called WWW::Mechanize that is designed exactly to do this kind of stuff.
You can find plenty of tutorials and examples, just google it.
Edit in 2021: the above recommendation has become a bit outdated since 2013. For a more up-to-date take, I'd still recommend a scriptable headless browser instead of an extension for most automation tasks, but probably not WWW:Mechanize. There are good lists of options, such as this one.
I'm trying to create a simple google chrome extension with 2 or 3 browser actions. I've been using selenium IDE to record the steps through Firefox I want to use. However, I don't know how to take those steps and put them into a coding language for Google Chrome in a .json so I can upload. I'm a beginner and have little coding knowledge, if someone could lead me in the right direction that would be great. Thanks for your time!
To begin, you will need some basic knowledge of JavaScript (and possibly HTML and CSS) for experimenting and asking further questions. These are the tools used to build Chrome extensions.
Here are some good places to learn from:
Khan Academy - Intro to JS
Codecademy - JavaScript track
After that, IBM's tutorial for Chrome extensions is a must-read.
Further on down the line, there are tools that make the process of developing extensions easier and/or faster, etc. such as Extension Maker and Crossrider.
Enjoy!
Waze is an application, which offers an actual traffic information. There is also a livemap Waze livemap - where are marks as you can see.
So, I found some site: Check this link - egaraz and I'm really curious how did egaraz.cz fetch (parse) data (marks) from Waze, because there is no chance to do that. Or do they have some kind of deal? I don't know.
I tried to download all mentioned webpages to my computer, I read all javascript files and everything and found just nothing. Maybe I overlooked some...
Can you just help me and (try to) say me how do they did that? Or suggest some working solution/s..
I did some investigation on this and found some curious stuff...
It seems it's sort of hidden but there's a Waze Wiki, here's your answer:
API - use waze maps on your website
For further information please contact bizdev#waze.com
http://www.waze.com/wiki/index.php/API_-_use_waze_maps_on_your_website
(so maybe you gotta pay for it, anyhow, they're probably interested in knowing what you wanna do beforehand)
Now the interesting part is that Waze source was actually open ( seems it's not the last version tho )
https://github.com/mkoloberdin/waze
,
http://www.waze.com/wiki/index.php/Source_code (edit: link is down)
And a guy even did a Linux backport( didn't see if it works yet )
https://github.com/sashakh/waze
Edit: Theoretically it could be possible to hack an integration but this is old stuff, Waze stopped releasing the source since v3.0 and it's possible that they've probably added additional barriers to the data(I've actually ran the linux port after making this post and it seemed to work, that was the farthest I went tho)
open-source project that wrapper waze functionality
its written in java. can be used as a service or as a runnable server.
https://github.com/Nimrod007/waze-api
link to docs:
http://htmlpreview.github.io/?https://github.com/Nimrod007/waze-api/blob/master/docs.html
it has an endpoint for traffic information according to given coordinates.
I want to write a firefox addon that replaces my current default download feature.
I basically just want to add other options to the download window that will allow it to interact with my website.
Where do I get started with this? Does anyone know any code I can get started from? I'd rather not build the entire download from scratch, it seems like a lot of work...
Thanks,
Matt
I'd probably start by looking at the source code to an existing extension which does this.