index.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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/en/ebrowser/eb_select/" />
  7. <link rel="stylesheet" href="../style.css#" type="text/css" />
  8. <title>Text selection</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#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">Text selection
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. </ul>
  43. <p>Click the following links to install context menus for text selection.</p>
  44. </div>
  45. <p>Last Modified: 12 July 2024<br>
  46. reorg ebrowserreadme.md<br>
  47. <pre></pre>
  48. </p>
  49. <script id='jsgiscus'
  50. src='https://giscus.app/client.js'
  51. data-repo="torappinfo/uweb"
  52. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  53. data-category="Announcements"
  54. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  55. data-mapping="title"
  56. data-strict="0"
  57. data-reactions-enabled="1"
  58. data-emit-metadata="0"
  59. data-input-position="top"
  60. data-theme="light"
  61. data-lang="en"
  62. data-loading="lazy"
  63. crossorigin="anonymous" async>
  64. </script>
  65. <footer class="site-footer">
  66. <div class="container">
  67. &copy; 2018-2024 Richard H. Cao
  68. </div>
  69. </footer>
  70. <!-- 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/>. -->
  71. </body>
  72. </html>