Coder Social home page Coder Social logo

nickgaya / autohalt Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 10.02 MB

A web extension to turn off autoplaying of suggested content on YouTube, Facebook, Hulu, and other sites.

License: MIT License

JavaScript 81.78% HTML 4.42% Shell 11.78% JSONiq 2.02%

autohalt's Introduction

AutoHalt

Firefox: Get the add-on Available in the Chrome Web Store

A web extension to turn off autoplaying of suggested content on YouTube, Facebook, Hulu, and other sites.

Take back control of your media viewing experience! Prevent sites from automatically playing suggested content after the content that you have selected.

AutoHalt works by scanning the website's user interface for an element such as a checkbox or button that can be clicked to disable autoplay. The extension only simulates user interactions and does not directly modify the page's content.

Supported websites

AutoHalt currently supports the following websites.

  • YouTube: Turns the "Autoplay" switch to off. The user can manually re-enable autoplay by clicking the switch again. If viewing a playlist or queue, videos will play automatically until the end of the list.

    The extension also turns off the Autoplay switch on YouTube Music when available. However in some cases, such as playing an individual song, the site does not give the user an option to disable autoplay functionality.

  • Facebook: Clicks the "Cancel" button on the "Up Next" prompt at the end of a video.

  • Hulu: Turns the "Autoplay" switch to off in the video player settings. The user can manually re-enable autoplay by clicking the switch again.

  • Twitch: When viewing VODs, prevents the next video from autoplaying by clicking the "More Suggestions" button.

  • Vimeo: Turns the "Autoplay next video" toggle to off. The user can manually re-enable autoplay by clicking the toggle again.

  • Gfycat: Turns the "Autoplay Related GIFs" switch to off. The user can manually re-enable autoplay by clicking the switch again.

Functionality for each site can be enabled or disabled individually in the extension preferences.

Maintenance

AutoHalt uses "hand-crafted" selectors to interact with the sites listed above. Over time, this functionality may cease to work as websites change and update their interface design. If you notice that AutoHalt is not working on a supported website, please file a GitHub bug report with the URL where the issue was observed and any other relevant details.

autohalt's People

Contributors

nickgaya avatar

Stargazers

5l1v3r1 avatar

Watchers

 avatar

Forkers

kakamband

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.