Google Chrome: Search API? - google-chrome

I'm looking for a way to expose Google-Search functionality on my site so that chrome users can use context-sensitive searching (e.g:)
Chrome Search http://img19.imageshack.us/img19/7762/chromesearch.png
I know YouTube is owned by Google, but I couldn't remember which 3rd party sites I had seen this feature work on before. Anyway, I couldn't find any reference to this in google-labs or on code.google.com, so I've turned to you SO.
If anyone has any insight in how to expose this, or a reference doc, I'd be greatly appreciative.

Please note that I am basing my answer off of the context of your question, as at my work I cannot see the image. If my answer is not what you are looking for, please let me know.
I'm not sure if this exactly how Google Chrome does this, but Chrome supports it, and I found this by looking at the source code for this Stack Overflow page.
http://www.opensearch.org
This is an XML specification for providing custom searching. It is currently supported by Chrome, FF, and IE7.
If you want to look at an example page, this is the link to the Stack Overflow specification:
https://stackoverflow.com/opensearch.xml

Related

How to make a website searchable by chrome?

Didn't know how to phrase my question but I'll try to explain it here.
Have you seen how you can start typing a website URL in chrome's then hit [TAB] and then chrome's URL bar will jump into a searchy status?
For example, type 'facebook.com' in your address bar, then hit [TAB]. what you type in now will be searched for inside facebook.
What does facebook have to have for it to work?
So the thing youre talking about is called omnibox, and here's a link to a similar question which includes loads of detailed answers: How to add google chrome omnibox-search support for your site?
Hope this helps.
Edit: For those reading wondering why they can't replicate the facebook example given in the question, omnibox doesnt always work for everyone, its always been iffy on my work computer but works perfectly at home, I believe its something to do with the browser settings (official advice is just to reset them and try again!)

What can I use to capture and upload "Copy and Paste" images?

Just like stack exchange has the ability to accept pasting of images I would like to implement this on my website too. I tried to search for it but I am not sure what the correct terminology is and get really strange results.
I wanted to use plupload to upload images but I am not sure how this works exactly.
What plugin can I use to do this.
It seems what you are looking for is the "Clipboard API and events" http://www.w3.org/TR/clipboard-apis/
A post that seems consistent with the fact that the paste feature does not seem to be avalaible on firefox here on stackexchange :
http://css.dzone.com/articles/paste-wasteland-or-why-onpaste
As far as I know this behavior is not implemented in plupload.
This might be of some help if you want to evolve plupload or develop your own feature :
https://stackoverflow.com/a/7496598/1236044

Add-on to copy a page element with styles

I'm looking for an add-on for any browser that could copy any particular web page element with all it's styles to clipboard to be paste-in and show someone.
The aim is to have an opportunity to quickly share a small part of my big project or to assist in writing an article about this HTML and CSS tricks or to inspect a part of someone's else work.
Any ideas? If no such plugin exist, I'll try to write is by myself.
This is probably too late. But if anyone out there looking for the same thing, use SnappySnippet. It was built by Konrad Dzwinel
Firefox Add-on
Chrome extension
More details
It's a great extension.
Haven't seen anyone mention such an extension and a quick search doesn't yield one. You'll probably have to build one yourself.
The excellent Firebug add-on already collects this information, it may be easier to make a Firebug plugin to add the push-button convenience.
Note that this question is tagged as Greasemonkey, but Greasemonkey is not the best tool for this job.
Have you tried the Web Developer addon (firefox/chrome)? Not sure if it does exactly what you are asking for, but it displays the source in-page, allowing you to select specific sections of the page/source. You can use this feature and then copy-paste the relevant element you want to work with. That is if I understood your needs. If not, please clarify...

Google maps - We don't have maps at this zoom level for this region

I had a map working perfectly on a domain, then I moved it to a different domain and now all I'm getting is a gray canvas with this error message.
It happens in all browsers, regardless of which part of the map I zoom into, and it's not just my computer because I had two other people test it and it didn't work for them either.
Can someone help with this? I've seen the question asked around the web but no satisfactory responses anywhere.
Try browsing the location/ w/e directly from "http://maps.google.com/". If it results in the same problem, it's obviously on Googles side which means that you can't do anything about it.
Get a JavaScript debugger, such as FireBug or Chrome (under Developer Tools) to see where exactly it bugs out.
With an error description like this it's only guessing (can have several reasons).
I mean, you didn't even provide an URL, so this question is quite theoretical.

Hiding Chrome bookmark text via extension

I'm trying to get a start in programming by writing a Chrome extension similar to the Smart Bookmarks Bar extension for Firefox. Java seems straightforward enough, and I can probably figure out the specifics of building an extension but I can't find out what commands I need to change the rendering of the bookmarks.
1)Does anyone know where I could find the relevant documentation?
2)Does anyone know of extensions that interact with bookmark rendering I could take a look at the source code of?
Everything you can do with the bookmarks is listed in the API:
http://code.google.com/chrome/extensions/dev/bookmarks.html
(and as someone said here on SO: java is related to javascript as a car is related to a carpet :] )