index.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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>Text selection</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">Text selection
  37. <br>
  38. <span class="subtitle"></span>
  39. </h1>
  40. <ul class="tags">
  41. </ul>
  42. <p>Click the following links to install context menus for text selection.</p>
  43. </div>
  44. <p>Last Modified: 12 July 2024<br>
  45. reorg ebrowserreadme.md<br>
  46. <pre></pre>
  47. </p>
  48. <script id='jsgiscus'
  49. src='https://giscus.app/client.js'
  50. data-repo="torappinfo/uweb"
  51. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  52. data-category="Announcements"
  53. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  54. data-mapping="title"
  55. data-strict="0"
  56. data-reactions-enabled="1"
  57. data-emit-metadata="0"
  58. data-input-position="top"
  59. data-theme="light"
  60. data-lang="en"
  61. data-loading="lazy"
  62. crossorigin="anonymous" async>
  63. </script>
  64. <footer class="site-footer">
  65. <div class="container">
  66. &copy; 2018-2024 Richard H. Cao
  67. </div>
  68. </footer>
  69. <!-- 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/>. -->
  70. </body>
  71. </html>