Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: chrome/test/data/extensions/samples/subscribe_page_action/subscribe.html

Issue 115536: Add the RSS page action extension.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <title>Subscribe to feed</title>
4
5 <script type="text/javascript">
6 function navigate() {
7 var select = document.getElementById("readers");
8 // Grab the URL from the querystring, removing question mark at the front.
9 var feed_url = document.location.search.substring(1);
10 var url = select.options[select.selectedIndex].value + feed_url;
11 document.location = url;
12 }
13 </script>
14 </head>
15
16 <body>
17 <img src="feed-icon-64x64.png" align="absmiddle" />
18 Subscribe to this feed using:
19 <select id="readers">
20 <option value="http://www.google.com/reader/view/feed/">Google</option>
21 </select>
22 <button onclick="navigate();">Subscribe Now</button>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698