index.html 3.2 KB

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