Commit Graph
168 Commits
Author SHA1 Message Date
evanreichard 01df1d741b Update Return Youtube Dislike.user.js 2021-12-13 13:03:26 -05:00
evanreichard a7c8731564 [fix] YouTube Mobile Locale URL Doesn't Exist
On m.youtube.com, the locale URL doesn't exist. This will throw an invalid URL (passes undefined to the URL constructor).

On quick glance it doesn't appear that there's a good alternative on mobile, so I just fallback to 'en'.
2021-12-12 17:57:44 -05:00
DARKDRAGON532 a1ca95231d Merge pull request #277 from leonbubova/feature/refactor-check-for-user-avatar-button
refactor function checkForUserAvatarButton()
2021-12-13 02:22:52 +05:30
Leon Bubova a9658654ef use double bang operator for refactored method 2021-12-12 21:49:39 +01:00
DARKDRAGON532 868355b0d0 Fixed using assignment operator instead of equal operator 2021-12-13 01:30:10 +05:30
Leon Bubova 0d73da29ca refactor function checkForUserAvatarButton() 2021-12-12 20:15:31 +01:00
Nikita Krupin a22de0a28b Merge pull request #252 from Nightcaat/main
Replace old logo
2021-12-12 01:09:14 -05:00
Glen Lalo 9c23666d41 fixes signed-in status check 2021-12-11 16:31:37 +01:00
Dmitrii Selivanov ab99ce7046 Merge pull request #253 from KalinkaGit/main
Variable declaration and useless file
2021-12-11 18:13:32 +03:00
DARKDRAGON532 f3159a4113 Merge pull request #267 from mphelp/fix-clips
Fix Issue 180: clips not working
2021-12-11 20:24:27 +05:30
mphelp a303356d8c WormChickenWizard found typo: clip not clips for video id retrieval 2021-12-11 08:52:13 -06:00
DARKDRAGON532 7cd8f68c98 resolve #262 2021-12-10 23:17:27 +05:30
Kalinka 72a43af882 Fixed redeclaration error
Redeclaration error for theses variables: 'LIKED_STATE', 'DISLIKED_STATE', 'NEUTRAL_STATE' and 'storedData'
2021-12-10 18:23:14 +01:00
Kalinka d917142772 Fixed global declaration error
Variable 'jsInitChecktimer' wasn't declared globally, so it was causing a problem with the new declaration 'let' (instead of 'var' for a better compliance with ES2015 standards).
2021-12-10 17:22:13 +01:00
Kalinka 2e7958ee76 Commented Advanced Toggle line (Firefox)
Advanced Toggled isn't implemented in HTML yet, so it causes an error in the console.
2021-12-10 17:18:31 +01:00
Kalinka 2a8be195db Commented Advanced Toggle line
Advanced Toggled isn't implemented in HTML yet, so it causes an error in the console.
2021-12-10 16:42:02 +01:00
Kalinka 65aeb28922 Useless line
Import an empty file that has been deleted
2021-12-09 19:46:57 +01:00
Kalinka 015fbd20d6 Removed empty file 2021-12-09 19:37:12 +01:00
Kalinka e3e2cf5645 Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
2021-12-09 19:36:35 +01:00
Kalinka 6e9ef8bdce Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
2021-12-09 19:35:55 +01:00
Nightcat 6994dc0e42 Replace old logo
Website is untested but should be fine.

Thanks to afn, PickleNik, and everyone who gave feedback :]
2021-12-09 13:25:05 -05:00
Kalinka 633e918aba Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
2021-12-09 19:18:45 +01:00
Kalinka ca7141b582 Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
2021-12-09 19:18:15 +01:00
Kalinka e2f0689c00 Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
2021-12-09 19:17:58 +01:00
DARKDRAGON532 3d55897690 Merge branch 'main' into patch-1 2021-12-09 15:55:25 +05:30
Dmitrii Selivanov b6324c27da Merge pull request #223 from cupiditys/main
update rating bar on input
2021-12-09 12:31:24 +03:00
Dmitrii Selivanov 26640b8420 Merge pull request #235 from elmatt/patch-1
Remove unnecessary comments
2021-12-09 12:30:45 +03:00
Dmitrii Selivanov 0041525e2f Merge pull request #244 from yuriy-chumak/userscript
Fix: "has been blocked by CORS policy" for redirection from "youtube.…
2021-12-09 12:29:00 +03:00
DARKDRAGON532 7ac7bf9b0d added document.documentElement.lang 2021-12-09 12:54:29 +05:30
cupiditys 892e7eeedb Merge branch 'main' into main 2021-12-08 16:05:57 -05:00
AgentConDier 8f934251a1 Support for Android Firefox and m.youtube.com
should fix #68 and #143

List of changes:
* Suppress mobile user agents in background script
* Also look for the mobile equivalents of relevant HTML Elements
* More consistently use get[Dis]LikeButton() instead of getButtons().children
* Add mobile-specific css tweaks
2021-12-08 20:47:56 +01:00
Yuriy Chumak 06ff0045a0 Fix: "has been blocked by CORS policy" for redirection from "youtube.com" 2021-12-08 14:30:26 +02:00
Dmitrii Selivanov 85dd78f415 Merge pull request #236 from mphelp/issue-230
Fix Issue 230: Forgotten Userscript NaN dislike
2021-12-07 20:49:41 +03:00
DARKDRAGON532 4ba6ef9f9e checks for youtube locale and uses navigator.language as fallback 2021-12-07 17:12:59 +05:30
mphelp 4c8cb675ca Userscript NaN dislike fix
surrealegg forgot to do userscript change in addition to Chrome/Firefox #233
2021-12-06 20:12:52 -06:00
cupiditys 904760ea62 fix #232 2021-12-06 19:47:54 -05:00
cupiditys 593c670199 fix #232 2021-12-06 19:41:30 -05:00
cupiditys 3f9726392f fix #232 2021-12-06 19:39:53 -05:00
Matt Prior 4321e01139 Remove unnecessary comments 2021-12-06 16:41:45 -07:00
cupiditys 93d146cb43 Update Return Youtube Dislike.user.js 2021-12-06 17:42:36 -05:00
cupiditys 5fb021b172 Merge branch 'main' into main 2021-12-06 17:37:51 -05:00
Dmitrii Selivanov 6da6e73698 Merge pull request #229 from mphelp/issue-199
Fix Issue 199: (Bug): Cannot read properties of null (reading 'offsetParent')
2021-12-07 01:21:21 +03:00
Dmitrii Selivanov 1be947d6d2 Merge pull request #233 from surrealegg/fix-nan-dislike
Fix Dislikes of Private Videos are "NaN"
2021-12-07 01:20:00 +03:00
surrealegg a0e1a6dbab Fix Dislikes of Private Videos are "NaN"
will fix #230

List of changes:

* Adding a check to see if traceId exsits on response.
  This appears during error, so it will prevent setting dislike count to NaN.

* Changed a way to check if fields exist.
  Because the old way 0 likes or 0 dislikes are considered invalid.
2021-12-06 22:28:45 +04:00
mphelp 672c6db3f3 Fix Issue 199: Null check on menu container 2021-12-06 08:07:11 -06:00
cupiditys cb0cfda482 update rating bar on user input 2021-12-06 02:52:25 -05:00
cupiditys beb0476bcf update rating bar on user input 2021-12-06 01:49:39 -05:00
cupiditys 85aeb50140 update rating bar on user input 2021-12-06 01:49:11 -05:00
mphelp 6cba112185 Userscript clips functionality 2021-12-05 20:52:07 -06:00
Dmitrii Selivanov 3bca601e3d Merge pull request #204 from trevorpetersen/youtube_music_bug
Fix Issue #195: Fix bug where extension was being loaded on youtube music domains
2021-12-06 02:30:21 +03:00