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 youtube.com 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=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

{ Thanks, Yu-Hsuan Lin. }


Google Operating System