help.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <template>
  2. <div>
  3. <h1 class="title-text pt-12">Troubleshooting</h1>
  4. <ol
  5. class="col-xs-12 col-sm-11 col-md-9 col-lg-7 q-mx-auto text-left"
  6. style="line-height: 2.5rem; color: #aaa"
  7. >
  8. <li>
  9. Make sure you have latest version of extension installed,
  10. <code
  11. ><b>{{ version }}</b></code
  12. >
  13. right now
  14. </li>
  15. <li>
  16. Try removing extension and installing it again, then restarting the
  17. browser (all active windows, not just one tab).
  18. </li>
  19. <li>
  20. Make sure that this link opens:
  21. <a href="https://returnyoutubedislikeapi.com/votes?videoId=QOFEgexls14">
  22. https://returnyoutubedislikeapi.com/votes?videoId=QOFEgexls14
  23. </a>
  24. , you should see plain text: <br />
  25. <span style="color: #eee">
  26. {"id":"QOFEgexls14", "dateCreated":"2021-12-15T16:54:12.250813Z",
  27. "likes":2907, "dislikes":215, "rating":4.725641025641026,
  28. "viewCount":28222, "deleted":false}
  29. </span>
  30. </li>
  31. <li>
  32. If nothing of above helps - report your problem in
  33. <code>#bugs-and-problems</code> in our
  34. <v-btn
  35. class="mainAltButton"
  36. style="
  37. font-size: 0.5rem;
  38. height: 1.5rem;
  39. padding-left: 0.25rem !important;
  40. "
  41. :href="discordLink"
  42. target="_blank"
  43. >
  44. <v-icon style="margin-right: 0.5em">mdi-discord</v-icon>
  45. Discord
  46. </v-btn>
  47. <ol type="a">
  48. <li>
  49. Tell us your <b>Operating System</b>, <b>Browser Name</b> and
  50. <b>Browser Version</b>.
  51. </li>
  52. <li style="position: relative; width: 100%">
  53. Take screenshot of page with problem (i.e. youtube video page) with
  54. console open (press <code>F12</code>) - example screenshot below.
  55. <img
  56. width="100%"
  57. style="border-radius: 1rem; border: 2px solid #333"
  58. src="ui/troubleshooting.png"
  59. alt="example-screenshot"
  60. />
  61. </li>
  62. <li>
  63. Take screenshot of extensions page of your browser with extension
  64. installed. <br />
  65. To see extensions put this into adress bar:
  66. <br />
  67. <code>about:addons</code> for Firefox
  68. <br />
  69. <code>chrome://extensions</code> for Chrome, Edge, Brave, Opera,
  70. Vivaldi
  71. </li>
  72. </ol>
  73. </li>
  74. </ol>
  75. </div>
  76. </template>
  77. <script>
  78. export default {
  79. transition(to, from) {
  80. if (!from) return "swoop-in";
  81. let routes = ["index", "install", "help", "faq", "donate", "links"];
  82. if (routes.indexOf(to.name) < 0) return "swoop-out";
  83. if (routes.indexOf(from.name) < 0) return "swoop-in";
  84. return routes.indexOf(to.name) > routes.indexOf(from.name)
  85. ? "swoop-left"
  86. : "swoop-right";
  87. },
  88. data: () => ({
  89. version: "2.0.0.3",
  90. }),
  91. mounted() {
  92. fetch(
  93. "https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json"
  94. )
  95. .then((response) => response.json())
  96. .then((data) => {
  97. console.log(data);
  98. // for (const product of data.products) {
  99. // let listItem = document.createElement("li");
  100. // listItem.appendChild(document.createElement("strong")).textContent =
  101. // product.Name;
  102. // listItem.append(` can be found in ${product.Location}. Cost: `);
  103. // listItem.appendChild(
  104. // document.createElement("strong")
  105. // ).textContent = `£${product.Price}`;
  106. // }
  107. });
  108. // .catch(console.error);
  109. },
  110. };
  111. </script>