speckofthecosmos afc8208bf5 [mobileWallLayout] Add play-on-visibility and ordered loading (#704)
* [mobileWallLayout] Add play-on-visibility and ordered loading

Adds two mobile-first behaviors to the existing layout plugin and
rebrands the display name to "scrollFeed":

- IntersectionObserver gates <video> play/pause on 10% visibility.
  Caps concurrent playbacks to ~3, well under iOS Safari's
  ~20-simultaneous-<video> ceiling that the unchanged Stash wall
  hits on a 20-card page.

- A DOM-ordered load queue cancels the parallel-fetch storm Stash
  kicks off when all wall cards mount at once. Top clips get
  uncontested bandwidth first, and a 500ms timeout advance ensures
  the full page is in-flight within ~5s so degrading reception
  doesn't strand the bottom of the page with zero bytes.

The plugin's internal id stays mobileWallLayout so existing
installs upgrade cleanly. The whole file is wrapped in an IIFE
to avoid top-level name collisions with other plugins loaded
into the same document.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Restore discourse thread URL in plugin YAML and README

The scrollFeed rebrand inadvertently repointed the YAML url: field to a
GitHub tree URL and dropped the discourse link from the top of the README.
Every other plugin in this repo uses the discourse thread as its url: value
(it's what the Stash plugins panel surfaces as the plugin's support
link), so restoring the original discourse URL here keeps the convention
and keeps existing users linked to the plugin's discussion thread.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 11:13:28 +03:00

CommunityScripts repository

This repository contains plugins, themes, userscripts and other utility scripts created by the Stash community.

Community support

Host your own plugins

We have a GitHub template available for those that prefer hosting on their own with step-by-step instructions to get started.

Repository: https://github.com/stashapp/plugins-repo-template

Plugins

Note

More plugins are available at discourse.stashapp.cc.

Themes

Note

More themes are available at discourse.stashapp.cc.

Other projects

Note

More community projects are available at discourse.stashapp.cc.

Contributing

Submit a PR to add your plugin, theme, userscript and other utility script to the repository.

Deprecation

14-day notice and associated issue with the appropriate label will be created once plugins, themes, userscripts and other utility scripts are marked for deprecation to allow time for someone to take over the development.

After the 14 days, if nobody takes up the development they will be moved to the archive directory. This will automatically remove plugins from the CommunityScripts source index.

Maintainers are expected to show commitment and demonstrate meaningful effort to maintain the code.

Description
This is a public repository containing plugin and utility scripts created by the Stash Community.
Readme AGPL-3.0 15 MiB
Languages
JavaScript 55.7%
Python 25.1%
CSS 16.2%
HTML 2.8%
Shell 0.1%