Giter Site home page Giter Site logo

kohgeek / sortyoutubeplaylistbyduration Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 26 KB

Proper repository for Greasyfork plugin Sort Youtube Playlist By Duration (formerly Sort Youtube Watch Later by Duration)

Home Page: https://greasyfork.org/en/scripts/446741-sort-youtube-playlist-by-duration

License: GNU General Public License v2.0

JavaScript 100.00%

sortyoutubeplaylistbyduration's Introduction

Sort Youtube Playlist By Duration

Proper repository for Greasyfork plugin Sort Youtube Playlist By Duration (formerly Sort Youtube Watch Later by Duration)

Contributing

Contributors welcome! There are edge cases I cannot handle quickly especially in non-Chromium engines.

My setup is ViolentMonkey on Chromium and Firefox. Volunteers are encouraged to bugtest on alternative platforms.

Issues

TamperMonkey 5.1.0, Chrome Canary 124

Something about TM and Chrome Canary is not compatible and may cause issue. Three solution to this:

  1. Go to TM settings, change from Novice to Advanced, scroll down all the way to Experimental and switch Inject mode to Instant
  2. Go to Chrome Experiments, enable Enable (deprecated) synchronous mutation events and restart Chrome.
  3. Reinstall Chrome completely, removing previous browsing data

sortyoutubeplaylistbyduration's People

Contributors

kohgeek avatar

Stargazers

 avatar Richard Archambault avatar Kirill Basin avatar  avatar  avatar Coop avatar kastru avatar Lim Chunwei avatar

Watchers

 avatar Coop avatar

sortyoutubeplaylistbyduration's Issues

[BUG] Stopped working in Canary

Describe the bug

This script worked fine in Chrome Canary up until yesterday, but today it no longer shows the buttons when I go to https://www.youtube.com/playlist?list=WL and Refresh as usual (the Refresh was always required to show the buttons, in my experience).

It still works in Chrome Version 122.0.6261.129 (Official Build) (arm64) with Tampermonkey 5.0.1

To Reproduce
Steps to reproduce the behavior:

  1. Install Canary (Version 124.0.6367.0 (Official Build) canary (arm64)
  2. Go to https://www.youtube.com/playlist?list=WL
  3. Reload the page
  4. No buttons appear

Platform (please complete the following information):

  • Scriptrunner: Tampermonkey 5.1.0 (note the version difference from Chrome; 5.0.1 vs 5.1.0)
  • Script version 3.0.1

Yes, I have Developer Mode enabled in Canary.

[BUG] Stopped sorting

Describe the bug
Stopped sorting a week ago. Says "Sort 3 to 0", but never sorts.

To Reproduce
Steps to reproduce the behavior:
Click sort

Platform (please complete the following information):

  • Browser Fireffox
    -- Version 125.0.2
  • Scriptrunner ViolentMonkey
  • Scriptrunner version 2.18.0

Manual refresh needed to run script when Watch List is opened via YouTube ☰ Menu

Platform: Windows 11 x64
Browser: Brave Browser [Version 1.66.118 Chromium: 125.0.6422.147]
Extension: Tampermonkey 5.2

When I open the YT Watch List page by opening YouTube dot com, then clicking on Watch List in the ☰ Menu, the script doesn't run. It only runs after a manual page reload. This doesn't happen though if I go directly to the Watch List URL without opening YouTube dot com. I know that this has something to do with "fake navigation," backed up by the following warning I got when I tested the script on Violentmonkey:

Screenshot 2024-06-04 115508

I don't mind the reload to run the script, but I was just curious if there is a technical solution to this issue? Thanks for the great script!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.