Play that faggy music weeb boi
目前為 2025-08-14 提交的版本,檢視 最新版本。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
added support for the 8chan.st domain
Fixed external sound fetching (The most recent Tampermonkey update altered the GM.xmlHttpRequest function, which is causing requests with a timeout set to 0 to fail)
adjusted some play-links stuff
Added Picture-in-picture (Minimized display) toggle button to the media player's footer.
Bunch of CSS adjustments.
Fixed a bug that caused the post to be hidden after clicking the playLink button (the ▶︎ button next to the filename) for some mysterious reason.
Removed a bunch of useless href="javascript:;" from the code because they caused issues with the new Content Security Policy.Fixed local files to make them compatible with the new CSP.Bunch of CSS fixes.
The last site update changed the Content Security Policy (CSP), disallowing data URLs for media sources. This broke soundposts.FIX: All data-based media assignments (e.g., video.src = "data:audio/mpeg;base64,...") have been replaced with blob: Object URLs created via URL.createObjectURL() to ensure compatibility with the new CSP.Added reload to the context menu.
Added playback controls to the navbar header.Updated the script icon.
Fixed a bug that caused local files to break the shuffle playlist function.Fixed some loop issues.Fixed some issues with the minimized display resize function.A "poster" attribute was added to the video element, which displays a temporary image while the video is loading or when no video data is available.
made sync more frequent (sound posts only)
added one more codec to the settings tab
Fixed shuffle.Added some info about codecs to the settings tab.
improved updatePipSize function logic
Fixed some bugs with the hover images.
Fixed a parsing error caused by audio files lacking a dimension label.
fixed fullscreen
minor bug fixes
removed timeout on XMLHttpRequests, soundposts now should work on slow internet.Fixed the playlist and gallery dragging.Added a hover menu to the gallery.Fixed a issue where prevent wrapping did not work correctly with the Penumbra theme.Local files: Fixed a bug that caused the thumbnail to generate a black image.and more small bug fixes and improvements.
minimised display bugfix
visual adjustments
fixed a hover-images bug
bunch of small bug fixes and improvements
Gallery mode has been added. Click on the playlist icon in the header to switch between playlist and gallery mode.The script now saves the volume value and resumes it during initial script load.Fixed the size of the minimized player div not matching the size of the video/image element.Bunch of small bug fixes and improvements.
Support for standalone audio files has been added.Improved handling of failed GM.xmlHttpRequest fetches.Improved theme matching.bunch of small bug fixes and improvements.
The playback state can now be controlled by clicking on the video within the player.Fixed some No-Repeat mode bugs.Added @match https://8chan.moe/*/last/* and @match https://8chan.se/*/last/* to the UserScript header.The style sheet now updates properly when settings are reset.
Playlist: randomly generated filenames are now shorten.
adjustments and shit
bug fixes and improvements
new feature: the script now ensures that the sounds player is always in the visible area of the screen.
Two minor bug fixes. These are for bugs that were introduced in the last update.
- Prettified settings.- Added control wrap prevention feature, this feature hides elements from the playback controls panel to prevent wrapping when the player is too small.- The UI icons have been changed, ...again, they are now just plain SVG images. Previously, the icons were taken from a woff font that had to be loaded from an external source.
Sound Posts: replaced xmlHttpRequest(arraybuffer) + btoa, external file fetching logic with xmlHttpRequest(blob) + FileReader. loading should be a little faster.fixed a bug where local files did not work in chrome.added visual feedback for error state.
improved theme matchingadded visual feedback when loading
Fixed an issue where videos with URLs that didn't end with a file extension would not play.
Empty media sources are now properly handled (module 6).Fixed a bug where sometimes the video/sound duration was not defined (module 6).
fixed fullscreenadded support for more video formats
image hover now shows the actual thumbnail not a spoiler image.added the ability to change the bottom offset and the right offset of the minimized player in the settings.added the ability to add and play files locally (the plus symbol in the header).added font fallback:A variable was added to the beginning of the script as a fallback font for the UI. If 'Tabler' fails to load change the FONT variable to 'Open Iconic' if even that doesn't load change the FONT variable to plain text 'Text'.Also consider resetting "Header Contents" and "Footer Contents" in the settings just to make sure everything looks exactly as it should.
Changed HUD UI icons again.Added option to change font size in the settings.The display size setting has been moved to settings (previously it was just variables at the beginning of the script).Fixed a bug where dragging the player could shrink it by 1 pixel.Fixed some CSS issues with the minimized player where the re-maximize div would have 100% width.Fixed repeat one/all/none not working correctly.
- sound posts [sound=URL] are now fetched via base64-encoded GM_xmlhttpRequests- webm/mp4 sound posts [sound=URL.mp4] are now supported- most of module 6 was rewritten can't be arsed listing it all
- Updated media player header GUI.- Fixed positioning. The sound player header should no longer get stuck behind 8chan navigation header anymore.- Fixed the post width limit function. This function applies a maximum width to posts next to the player so they are not hidden behind them. It is disabled by default.- Code in module 21 has been beautified.
A toggle has been added to the media player footer to only show posts with an sound tag.Added @downloadURL and @updateURL to the header.Removed the 4chan-sounds-player github page url from the header (moved it under the header, it's just a simple comment now).
Fixed a bug where [sound=URL].mp4 posts would not play the video.
Removed @match *8chan.moe/*/res/* and @match *8chan.se/*/res/* from the header. It works fine on Tampermonkey but causes issues on Violentmonkey.
Sound Player now replaces _ characters with % characters. Thanks to that sound posts that Firefox fucked up during file download will play now.Added @match https://8chan.moe/*/res/* and @match https://8chan.se/*/res/* into the header.
顯示所有腳本版本