{"id":394,"date":"2011-08-11T19:04:57","date_gmt":"2011-08-12T02:04:57","guid":{"rendered":"http:\/\/10.0.1.201\/?p=394"},"modified":"2011-08-11T19:04:57","modified_gmt":"2011-08-12T02:04:57","slug":"netflix-search-bookmarklet","status":"publish","type":"post","link":"https:\/\/strawhousepig.net\/wordpress\/2011\/08\/11\/netflix-search-bookmarklet\/","title":{"rendered":"Netflix search bookmarklet"},"content":{"rendered":"<p>Drag this link to your bookmarks, or copy paste the URL.<\/p>\n<p><a href=\"javascript:is_imdb=\/\\.imdb\\.com\/;if(is_imdb.test(document.domain)){q=document.title.split('%20-%20IMDb',1);}else{if(getSelection()!=''){q=getSelection();}else{void(q=prompt('Enter%20search%20term%20(Netflix)',''));}}if(q){window.open('http:\/\/netflix.com\/WiSearch?v1='+escape(q));}\">Search Netflix<\/a><\/p>\n<p><strong>What it does:<\/strong> Takes the current selected text and sends it to Netflix.com as a search string. If no text is selected a prompt window will pop-up allowing you to manually enter a term. Also, if you are browsing <a href=\"http:\/\/www.imdb.com\/\">The Internet Movie Database (IMDb)<\/a> when you select it the title of the page will be used as the search string.<\/p>\n<p><strong>What it is:<\/strong><br \/>\n<code>is_imdb=\/\\.imdb\\.com\/;<br \/>\nif(is_imdb.test(document.domain)){<br \/>\n\tq=document.title.split(' - IMDb',1);<br \/>\n}else{<br \/>\n\tif(getSelection()!=''){<br \/>\n\t\tq=getSelection();<br \/>\n\t}else{<br \/>\n\t\tvoid(q=prompt('Enter search term (Netflix)',''));<br \/>\n\t}<br \/>\n}<br \/>\nif(q){<br \/>\n\twindow.open('http:\/\/netflix.com\/WiSearch?v1='+escape(q));<br \/>\n}<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drag this link to your bookmarks, or copy paste the URL. Search Netflix What it does: Takes the current selected text and sends it to Netflix.com as a search string. If no text is selected a prompt window will pop-up allowing you to manually enter a term. Also, if you are browsing The Internet Movie [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7],"tags":[],"class_list":["post-394","post","type-post","status-publish","format-standard","hentry","category-code","category-web"],"_links":{"self":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/posts\/394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/comments?post=394"}],"version-history":[{"count":0,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/posts\/394\/revisions"}],"wp:attachment":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/media?parent=394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/categories?post=394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/tags?post=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}