index.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/zh/androidtv/" />
  7. <link rel="stylesheet" href="../style.css#" type="text/css" />
  8. <title>Android TV</title>
  9. <script>
  10. function findLang(){
  11. let href = location.href;
  12. for(let i=href.length-1;i>0;i--){
  13. if('/'==href.charAt(i) && '/'==href.charAt(i-3))
  14. return i;
  15. }
  16. return 0;
  17. }
  18. function nav2(page){
  19. let i = findLang();
  20. location.href = location.href.substring(0,i+1)+page;
  21. }
  22. function nav2Lang(lang){
  23. let i = findLang();
  24. let href = location.href;
  25. location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <header class='header'>
  31. <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">首页</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">标签</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">Android TV
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. </ul>
  43. <p>TV端推荐打开自动播放选项,全局脚本打开自动全屏播放,全局样式打开“仅显示图片“,禁止js confirm对话框。</p>
  44. <p>点击以下链接可直接设置主屏为书签并添加链接。Android TV可从手机端接收视频url并打开,发送见常用服务:<br>
  45. <a href="i:0ghome5.html::<a href=%22i:1w%22>等待从网络接收url并打开</a>%0A">等待从网络接收url并打开</a></p>
  46. <p><a href="i:0ghome5.html::<a href=%22i:1w1%22>等待接收url沉默版</a>%0A">等待接收url沉默版</a></p>
  47. <p><a href="i:0ghome5.html::<a href=%22file:///data/data/info.torapp.uweb/files/bookmark.html%22>书签</a>%0A">书签</a></p>
  48. <p>点击以下链接添加常用服务:<br>
  49. <a href="i:01添加书签至主屏:i:51../home5:">添加书签至主屏</a></p>
  50. <p>Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引擎文件engine.search中的搜索引擎url如果不包含'%s',则搜索引擎只是简单的固定网页url,此时顺序搜索表现为频道切换。更多信息见多引擎搜索页面。</p>
  51. </div>
  52. <p>Last Modified: 2 April 2024<br>
  53. i:1c for certificate<br>
  54. <pre></pre>
  55. </p>
  56. <script id='jsgiscus'
  57. src='https://giscus.app/client.js'
  58. data-repo="torappinfo/uweb"
  59. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  60. data-category="Announcements"
  61. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  62. data-mapping="title"
  63. data-strict="0"
  64. data-reactions-enabled="1"
  65. data-emit-metadata="0"
  66. data-input-position="top"
  67. data-theme="light"
  68. data-lang="en"
  69. data-loading="lazy"
  70. crossorigin="anonymous" async>
  71. </script>
  72. <footer class="site-footer">
  73. <div class="container">
  74. &copy; 2018-2024 Richard H. Cao
  75. </div>
  76. </footer>
  77. <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
  78. </body>
  79. </html>