An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to

May 21, 2013

YouTube Search Experiments

YouTube experiments with some new search features. When you click a video from the list of YouTube search results, there's a red progress bar displayed at the top of the page until the video page loads. YouTube loads pages using AJAX and uses HTML5 history.pushState to change the browser URL without reloading the page. Here's the new feature in action:

The search box still includes your query when you watch the video. Another experimental feature shows a list of search suggestions when you watch a video and click the search box. The list of suggestions is probably generated based on the video's title.

Click the homepage search box and YouTube shows a list of recent searches.

Here's how you can try the new features (the red progress bar seems to be Chrome-only). If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open in a new tab

2. load your browser's developer console:

* Chrome - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Opera - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console"

* Safari - check this article

* Internet Explorer - press F12 and select the "Console" tab.

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=jyDR-4Ljl_I; path=/;";window.location.reload();

4. press Enter and close the console.

To go back to the standard UI, follow the same steps, but use the following code:

document.cookie="VISITOR_INFO1_LIVE=; path=/;";window.location.reload();

{ Thanks, Yu-Hsuan Lin. }

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.