This script automatically:

  1. Clicks the “Positive” radio button.
  2. Fills out the feedback comments.
  3. Rates everything with five stars.

You can use this bookmark whenever you are on a feedback page on eBay.
To use it, first drag the following link to your bookmarks bar or add it to your favorites:

eBay Feedback

And then click it when browsing eBay’s feedback page.
It is most useful if you have lots of eBay transactions to rate at once. Then you can go here:
http://feedback.ebay.com/ws/eBayISAPI.dll?LeaveFeedback2

And use the script to fill all your feedback pending transactions at once.

Here’s the bookmark’s code for the developers among us:

var feedback = prompt( 'Please enter your feedback message', 'Thanks, great seller. I got the item quickly.' );
 
var el = document.querySelectorAll( '.radiorow input[value="positive"]' );
 
for (var i = 0; i < el.length; i++) {
	el[ i ].click();
}
 
var el = document.querySelectorAll( 'input[type="text"]' );
 
for (var i = 0; i < el.length; i++) {
	if ( el[ i ].name.substr( 0, 7 ) == 'comment' ) {
		el[ i ].value = feedback;
	}
}

I developed it for my personal use, but decided to share it here in case anyone else was interested in such a script.

I got tired from searching for song lyrics online while watching music videos on YouTube.
So I write this simple, yet extremely useful Chrome extension.

It’s called “Lyrics for YouTube™” and you can download it at the Google Chrome extensions gallery:
https://chrome.google.com/extensions/developer/detail/kggldhblikkmmnbkeococbeoaacgelkf

With one click of a button, the lyrics will appear right next to the music video, at a very natural fashion. This way, you have the playing music video and the song’s lyrics, in a beautiful side by side comfortable display.

Usage instructions – Click the extension’s icon and the song’s lyrics will magically appear right next to the video.

Background

Have you heard about Google’s latest service – Google Cloud Print?

It’s a cool service which allows you to print stuff from your home printer using any other computer in the world or even (and especially) mobile devices.

The service is still in beta, so right now you can only print through mobile devices with HTML5 compliant browsers which can access Google’s Gmail and Docs mobile version.
They claim that their next step is embedding this functionality in Chrome OS notebooks.

It kind of looks like they skipped over Google Chrome’s version.
That’s why I developed an extension for Google Chrome through which you may print using the Google Cloud Print service to any of your connected printers.

I encountered quite a few technical challenges while developing this extension. But I’ve overcome all of then and I’m proud to present the final outcome.
Everyone is welcome to download and study the extension’s source code.

Download

You may download the extension here: (A 5 star rating will be greatly appreciated :)
https://chrome.google.com/webstore/detail/ffaifmgpcdjedlffbhenaloimajbdkfg

What does the extension do?

The extension gives you the ability to print any doc/pdf/txt file, Gmail attachment, email or Google Docs document using Google Cloud Print™.

Screenshots

Here are some screenshots of the extension in action:

Some more screenshots people took I found on Flicker:
http://www.flickr.com/photos/nda/5411410871/
http://www.flickr.com/photos/nda/5411411069/
http://www.flickr.com/photos/nda/5411410263/
http://www.flickr.com/photos/nda/5411410395/
http://www.flickr.com/photos/nda/5411410871/
http://www.flickr.com/photos/nda/5412023376/

Instructions

Print a pdf/doc/txt/jpg/jpeg file

Navigate your way to the desired file and click the extension’s icon.

The icon will appear on the left side of the address bar only when the current tab’s URL ends with .pdf, .doc or .txt.

Print a Gmail attachment or email

Look for the “Print using Google Cloud Print” links (you can see where they are located in the screenshots).

Print a Google Docs document

Open a document and click File > Print using Google Cloud Print.

Demo Video

Here is a demo video of the extension in action (thanks to Digital Inspiration):

Changelog

Version 0.31 (5/3/1011)

Version 0.3 (15/2/1011)

Version 0.22 (10/2/1011)

Version 0.21 (9/2/1011)

Version 0.2 (7/2/1011)

Press

This extension has been broadly reviewed by bloggers and news sites:

Feedback

Please leave any feedback / suggestions you might have at the extension’s feedback forum (no registration needed):
http://printusinggooglecloudprint.uservoice.com

or in the comments section below, or by contacting me.

Learn more

About Google Cloud Print™:
http://www.google.com/support/cloudprint/
http://www.google.com/chrome/intl/en/p/cloudprint.html
http://code.google.com/apis/cloudprint/docs/overview.html

You can extract and view any Google Chrome extension’s full source code following the following easy steps.

Every Google Chrome extension is basically a CRX file. When you click the “Install” button on the Google Chrome extension gallery you are basically clicking a link of the extension’s CRX file.

The first step is downloading the extension’s CRX file. Instead of clicking it’s link, which will lead to that extension being installed on your browser, right-click the link and choose “Save link as…”.

Now that you have the CRX file on your computer, rename it’s extension from CRX to ZIP. Turns out that every CRX file is a renamed ZIP archive of the extension.

All there is left to do is extract the ZIP archive to the desired destination. The full code of the Chrome extension is there.

Have fun exploring other peoples code!

I was curious to see what’s inside a wireless keyboard that was laying around the house. So I cracked it open. And boy did I learn some interesting stuff.

Tip of the day – follow your curiosity and instincts. Only good can come out of it.
Or like National Geographic says: “Live Curious“.

Anyhow, I had some fun with what used to be a wireless keyboard and this is the end result:

The odd ball at the top acts as the mouse. It’s surprisingly comfortable and accurate.
The upper trigger acts as a left mouse button.
The lower trigger acts as a right mouse button.
The scroll wheel at the bottom acts as a… scroll wheel.

You can turn the remote sideways and control any TV using the mini universal remote control glued to the side (thanks eBay!).

It comes real handy when watching TV series while in bed (oh the laziness!).

06.09.2010

Yesterday, I attended WordCamp Jerusalem 2010 and lectured about WordPress 3.

My presentation included some very handy code snippets, links and information so I decided to upload it to slideshare for anyone to catch up.

The video:

My brother and I developed a first person minesweeper game in 3D, using the UNITY game development platform. Give it a shot (click to play):

We’ve also built a Facebook application version of this game, available to play at:
http://apps.facebook.com/minesweeper-game/

I used WordPress’ get_the_post_thumbnail() function in order to output the current post’s featured image. It was great, until I had to link to the featured image. To do that, I needed the value of the SRC attribute of that IMG tag, i.e., the direct link to the featured image.

Thanks to phpxref, and the WordPress Codex, I managed to write a small useful function just for that. Without further ado, I present to you, the function:

function oy_get_direct_thumbnail_link( $post_id = NULL ) {
	global $id;
	$post_id = ( NULL === $post_id ) ? $id : $post_id;
	$src = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), 'full');
	$src = $src[0];
	return $src;
}

The first and only parameter ($post_id) is optional. If used inside the loop, it fetches the current post’s ID by itself.

10.05.2010

If the question intrigues you, this video of me lecturing about it will probably answer it for you. This video was shot last month in a user-generated content meeting organized by StartupSeeds.

The lecture is in Hebrew but there are English subtitles available.

I finished working on this project today, it took me about a day and a half to complete it. It looks super easy but as always there are issues that you encounter only during the development phase.

The service/application offers you six boxes in which you may type whatever you want. e.g. memos, notes, temporary data or tasks.

The data is saved within each keystroke one makes. It’s stored using the browser’s cookies.

Adding extra features always costs some of the simplicity of the application. And many people try to find the “right” balance. In this project, I decided to go to an extreme – super easy & no features. Some people may like it and some may not.

Here is my new personal homepage:
http://www.sixpacknotes.com/

Your feedback is welcomed.

Next Page »