From c490a5f0a5a9bf166f8f8cb72081833da53a1c68 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Mon, 10 Jan 2022 10:15:40 +0000 Subject: [PATCH] wiki to repo; reason: GPLv3 Section 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From discussion in Discord: GPLv3 Section 6 clearly states > “Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. --- Guides/Guide__Installing.md | 318 +++++++++++++++++++++++++++++++ Guides/Guide__Troubleshooting.md | 187 ++++++++++++++++++ 2 files changed, 505 insertions(+) create mode 100644 Guides/Guide__Installing.md create mode 100644 Guides/Guide__Troubleshooting.md diff --git a/Guides/Guide__Installing.md b/Guides/Guide__Installing.md new file mode 100644 index 0000000..a4cf8ac --- /dev/null +++ b/Guides/Guide__Installing.md @@ -0,0 +1,318 @@ +# Downloading, Installing & Using + +**Contents** + +- [Downloading, Installing & Using](#downloading-installing--using) + - [Downloading](#downloading) + - [Desktop (all OS supported by these browsers)](#desktop-all-os-supported-by-these-browsers) + - [Chromium Based Browsers](#chromium-based-browsers) + - [Firefox Based Browsers](#firefox-based-browsers) + - [Mobile](#mobile) + - [Android](#android) + - [iOS](#ios) + - [Userscript](#userscript) + - [Installation](#installation) + - [Desktop](#desktop) + - [**Chromium based browsers**](#chromium-based-browsers-1) + - [From Chrome Webstore](#from-chrome-webstore) + - [From crx/zip file](#from-crxzip-file) + - [From unzipped folder](#from-unzipped-folder) + - [**Firefox Based Browsers**](#firefox-based-browsers-1) + - [From addon store](#from-addon-store) + - [From xpi/jar/zip file](#from-xpijarzip-file) + - [Mobile](#mobile-1) + - [Android](#android-1) + - [App from Play Store](#app-from-play-store) + - [On Firefox](#on-firefox) + - [iOS](#ios-1) + - [Using](#using) + - [Updating](#updating) + - [Extension / Addon](#extension--addon) + - [Miscellaneous](#miscellaneous) + - [Using YouTube website as an app with an extension](#using-youtube-website-as-an-app-with-an-extension) + - [Desktop](#desktop-1) + - [Chromium Based Browsers](#chromium-based-browsers-2) + - [Firefox Based Browsers](#firefox-based-browsers-2) + - [Mobile](#mobile-2) + - [Firefox Based Browsers](#firefox-based-browsers-3) + - [Chromium Based Browsers](#chromium-based-browsers-3) + +
+ +
+ +## Downloading + +### Desktop (all OS supported by these browsers) + +
+ +#### [Chromium Based Browsers][4] + +This extension has been tested to work on these browsers. + +- [Google Chrome][1] +- [Microsoft Edge][1] +- [Brave][1] +- [Opera][1] + +It should be able to work on [all Chromium-based browsers (list here)][4]. But that isn't guaranteed. + +
+ +#### [Firefox Based Browsers][5] + +- [Firefox][2] +- This addon should be able to run on most of the [Firefox-based browsers][5]. But isn't guaranteed. + +
+ +### Mobile + +#### Android + +1. apk app file + + You can download the apk file from + [https://github.com/jesperbakhandskemager/view-youtube-dislike/releases/](https://github.com/jesperbakhandskemager/view-youtube-dislike/releases/) + + **Note: This app is NOT made by the original author of the extension**. + + 2. [Firefox Nightly][2] + +- This addon should be able to run on most of the [Firefox-based browsers][5]. But isn't guaranteed. + +
+ +#### iOS + +No Support on Firefox + +You can have a look at these pages for more information (the reason why it's not available on Firefox): + +- [https://support.mozilla.org/en-US/kb/add-ons-firefox-ios] +- [https://support.mozilla.org/en-US/questions/1101350] + +For now, you can try this + +- [For Jailbroken iOS - **WE TAKE NO RESPONSIBILITY. USE AT YOUR OWN RISK**](https://chariz.com/get/return-youtube-dislike) + + This is an iOS port [**developed by a separate team**](https://github.com/PoomSmart/Return-YouTube-Dislikes) not related to the owner of github.com/Anarios/return-youtube-dislike + +#### Userscript + +[Download from here](https://returnyoutubedislike.com/install) + +
+ +
+ +## Installation + +### Desktop + +
+ +#### [**Chromium based browsers**][4] + +
+ +##### From Chrome Webstore + +1. [Go to website (click here)][1] +2. Click install +3. Wait for the extension to download and +4. 🙂 Installed !! + +
+ +##### From crx/zip file + +1. Download the crx/zip file. +2. Type [`chrome://extensions`][6] in address bar +3. Search for the "Developer Mode" switch and turn it on. +4. Open the folder and the browser side by side. +5. Drag and drop the crx/zip file in [chrome://extensions][6] tab +6. Click on "Add extension" +7. Installation Completed 🎉 +8. Remember to **turn off the "developer mode"** if not needed + +
+ +##### From unzipped folder + +1. Download the crx/zip file. +2. Go to [`chrome://extensions`][6] +3. Search for the "Developer Mode" switch and turn it on. +4. Click on "Load Unpacked" +5. Navigate to the folder & select it +6. The extension should be installed 🎉 +7. Remember to **turn off the "developer mode"** if not needed + +
+ +#### [**Firefox Based Browsers**][5] + +##### From addon store + +1. Go to the addon store and find the extension or [click here][2]. +2. Click on `Add to Firefox` +3. Done 🎉 The extension should be installed. + +
+ +##### From xpi/jar/zip file + +1. Type `about:addons` in the address bar and press "Enter". Alternatively, You can use + `Ctrl` + `Shift` + `A` on Windows and + `Cmd` + `Shift` + `A` on Mac and +2. Click on the Setting Gear icon `⚙`. +3. Click on `Install Add-on From File...` +4. Locate and click on the .xpi/.jar/.zip file. +5. Select and click to open it. +6. Done 🎉 The extension should be installed. + +
+ +### Mobile + +#### Android + +##### App from Play Store + +- Although app(s) which use this API exists but aren't they official. + +##### On Firefox + +1. Install Firefox Nightly. Refer to this blog post for the procedure: [Expanded extension support in Firefox for Android Nightly](https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/) +2. Install the extension in it from [addon store][2] +3. If you want - install the site as an app. For that procedure [go here](#firefox-based-browsers-3). + +#### iOS + +- [For iOS click here](#ios) +- Only available on Firefox-based browsers because Chromium-based browsers for the Android platform don't support installing extensions. + +
+ +
+ +## Using + +No more steps are required, it should start working right away. + +If required you can restart your browser. + +**🎉 🎊 Congratulations** 🥳 🎊 + +
+ +
+ +## Updating + +### Extension / Addon + +On [Chromium based browsers][4] + +- [from webstore][1] +- sideloading from [crx/zip file](#from-crxzip-file) or [unzipped folder](#from-unzipped-folder) + +On [Firefox based browsers][5] + +- [from addon store][2] +- [sideloading from xpi/jar/zip file](#from-xpijarzip-file) + +On [Firefox based browsers][5] for mobile + +- [from addon store][2] + +
+ +
+ +## Miscellaneous + +### Using YouTube website as an app with an extension + +#### Desktop + +##### Chromium Based Browsers + +0. Go to YouTube +1. Tap on menu button (`☰` / `⋯` / `⋮`) +2. Click on "Install YouTube" +3. 🎉Done! + +
+ +##### Firefox Based Browsers + +**⚠ Doesn't work on newer versions.** + +1. Type [`about:config`](about:config) in address bar & press `Enter` key. +2. When warned `Proceed with Caution` click on `Accept the Risk and Continue` +3. Locate and click on the search bar on the page. +4. Type `browser.ssb.enable`. +5. click on `⇋` and make sure the state is set to `true`. +6. Restart the browser and Open YouTube. +7. Click on `⋮` located in the upper right corner +8. Click `Install this website as an app` or `Install this website as an app` which depends on the version you are using. +9. Done! 🎉 You should be able to see the site's app in the start menu. + +You can also refer here (for pictures): + +[How to Enable the Site-Specific Browser (SSB) in Firefox - Make Tech Easier](https://www.maketecheasier.com/enable-site-specific-browser-firefox) + +
+ +#### Mobile + +##### Firefox Based Browsers + +0. Install the extension +1. Go to YouTube +2. Tap on the three dots `⋮` located at the bottom right corner of the screen. +3. Turn on "Desktop Site". +4. Refresh the page. +5. Wait for it to completely load. +6. Tap again on the three dots `⋮` located at the bottom right corner of the screen. +7. You will see an option as `Install`. Tap on it. +8. Tap - `Add` when asked `Add to Home screen?` +9. Enjoy the YT site as a Firefox nightly app !! + +
+ +##### [Chromium Based Browsers][4] + +[**Chromium Based browsers**][4] **don't support extensions on Android or iOS** + +But still - here are the steps: + +1. Go to YouTube +2. Tap on the three dots `⋮` located at the bottom right corner of the screen. +3. Turn on "Desktop Site". +4. Refresh the page and wait for it to completely load. +5. Tap again on the three dots `⋮` located at the bottom right corner of the screen. +6. You will see an option as `Install`. Tap on it. +7. When asked `Install App` tap on `Yes` +8. Tap - `Add` when asked `Add to Home screen?` +9. Enjoy the YT site as an app !! + +
+ +
+ + + +[1]: https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi + +[2]: https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/ + +[3]: https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js + +[4]: https://en.wikipedia.org/wiki/Chromium_(web_browser)#Browsers_based_on_Chromium + +[5]: https://en.wikipedia.org/wiki/Category:Web_browsers_based_on_Firefox + +[6]: chrome://extensions diff --git a/Guides/Guide__Troubleshooting.md b/Guides/Guide__Troubleshooting.md new file mode 100644 index 0000000..eb18610 --- /dev/null +++ b/Guides/Guide__Troubleshooting.md @@ -0,0 +1,187 @@ +Troubleshooting Guide + +**Index** + +- [Extension](#extension) + - [Basic checks](#basic-checks) + - [Check API status](#check-api-status) + - [Install certificates](#install-certificates) + - [Check for logs in the console](#check-for-logs-in-the-console) + - [In Chromium Based browsers](#in-chromium-based-browsers) + - [In Firefox Based Browsers](#in-firefox-based-browsers) + - [Check for conflicting extensions](#check-for-conflicting-extensions) + - [Known conflicts](#known-conflicts) +- [iOS app](#ios-app) +- [YouTube Vanced app](#youtube-vanced--app) +- [Contact in Discord Server](#contact-in-discord-server) +- [Useful Links](#useful-links) + +
+ +## Extension + +(for Windows & Macs) + +### Basic checks + +1. Make sure you have the latest version of the extension installed. ([Click Here to check](https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi#:~:text=Report%20abuse-,Version,-2.0.0.3)) +2. Close all the tabs & restart your browser +3. Reinstall the extension. +4. [Check API status] +5. [Check service worker] (only for chromium based browsers) +6. [If you are on Windows 7 read this](#install-certificates) + +
+ +### Check API status + +If the basic checks didn't resolve anything + +[See if you get any response from this link (click here)](https://returnyoutubedislikeapi.com/votes?videoId=QOFEgexls14) + +- If you **don't see something like** this, then the **API is down** and **everything is fine on your side**. + `{"id":"QOFEgexls14","dateCreated":"2021-12-28T02:53:20.995329Z","likes":2968,"dislikes":204,"rating":4.725047080979285,"viewCount":29157,"deleted":false}` +- If you see some responses but not in the above format (with likes and dislikes) then probably you are being rate-limited. It is done to prevent bot attacks and database vandalization. It depends on IP (its hash - which is never stored in non-volatile storage) for its countermeasures. If many people are accessing the server from the same IP (as in the case of public/institutional Wi-Fi) then it's possible that the IP is being rate-limited. If that's the case, There's no way for us to differentiate you from a bot/attacker. + +**If you see "Certificate error" and [if you are on Windows 7 (or earlier) read this](#install-certificates)** + +

+ +### Install certificates + +**Applies for Windows 7 (and earlier) only** + +and only for [Chromium Based Browsers][1] + +- [Chromium-based browsers][1] don't have their own certificate manager. +- They use Windows' certificates manager. +- Microsoft has officially dropped the support for Windows 7 + +You will have to install the latest certificates for that. + +You can follow this guide: + +[Fix error NET::ERR CERT DATE INVALID - Your connection is not private - Windows 7 - 2021](https://youtu.be/JYZLxP2Z8G4) + +If you don't want to install the certificate from Google drive + +- Here is the official link to the certificate [**x1.i.lencr.org**](http://x1.i.lencr.org/). +- **You will have to close all the tabs** before downloading this certificate. + +**The thumb print of real certificate is `cabd2a79a1076a31f21d253635cb039d4329a5e8`** + +**To make sure that you have installed the correct certificate, you should consider checking if the thumbprints match.** To do this you can follow this guide: [How to check a certificate's thumbprint](https://knowledge.digicert.com/solution/SO9840.html) + +
+ +### Check for logs in the console + +#### [In Chromium Based browsers][1] + +1. In Developer tools, go to [`console` panel](https://developer.chrome.com/docs/devtools/open/#console). + - For Windows press `Ctrl` + `Shift` + `J` all at once + - For Mac press `Cmd` + `Option` + `J` all at once +2. Find `filter` box in the newly appeared window. +3. Type `Return`. +4. Check the [Check API Status](#check-api-status) and see if you get similar responses. +5. If you see any errors in red [please contact us][4] and report them in our [discord server][3] + + + +
+ +#### [In Firefox Based Browsers][2] + +1. Open Browser Console + - For standard keyboard layout press `Ctrl` + `Shift` + `K` all at once + - For Mac keyboard layout press `Cmd` + `Option` + `K` all at once + - For Android refer to this article: [Remotely debugging Firefox <36 for Android](https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android) +2. Find `Filter Output` box in the newly appeared window. +3. Type `Return`. +4. If you see any errors in red [please contact us][4] and report them in our [discord server][3] + +
+ +### Check for conflicting extensions + +Some privacy and/or security-focused extensions such as ad- or script-blockers, as well as YouTube customization plugins might prevent the extension from working correctly. +Try to disable all other extensions and test whether the extension works. +If it does, find the extension(s) preventing RYD from working correctly and re-configure them in a way that'd stop them from interfering. + +
+ +### Known conflicts + +>### scriptSafe +> +> **Solution:** Trust `returnyoutubedislikeapi.com` manually +> +> ![rust returnyoutubedislikeapi.com manually](https://cdn.discordapp.com/attachments/821116437720334397/929814357708247060/unknown.png) + +
+ +> ### uMatrix +> +> **Solution:** Allow XHR for `returnyoutubedislikeapi.com` manually +> +> ![Allow XHR for `returnyoutubedislikeapi.com` manually](https://media.discordapp.net/attachments/821116437720334397/929813724238336141/unknown.png) + +
+ +
+ +## iOS app + +Coming soon. Please have patience. + +
+ +
+ +## YouTube Vanced app + +Coming soon. Please have patience. + +
+ +
+ +## Contact in Discord Server + +**Only if nothing mentioned above helped and you still have a problem.** + +[Discord server link: https://discord.gg/mYnESY4Md5][3] + +0. Join the discord server if haven't already +1. Go to the #Bugs-and-problems channel +2. There, thoroughly describe: + - your problem + - what you have tried & what didn't work + - results of the troubleshooting steps + + + +
+ +
+ +## Useful Links + +[List of Chromium Based Browsers][1] + +[List of Firefox Based Browsers][2] + +[Return-YouTube-Dislike Discord Server][3] + + + +[1]: https://en.wikipedia.org/wiki/Chromium_(web_browser)#Browsers_based_on_Chromium + +[2]: https://en.wikipedia.org/wiki/Category:Web_browsers_based_on_Firefox + +[3]: https://discord.gg/mYnESY4Md5 + +[4]: #contact-in-discord-server