Greasy Fork is available in English.

Supercharged Local Directory File Browser

Makes file:/// directory ("Index of...") pages (and many server-generated index pages) actually useful. Adds navigation links, file preview pane, keyboard navigation, user-defined shortcuts, filtering, more.

Pada tanggal 03 Januari 2019. Lihat %(latest_version_link).

Penulis
gaspar_schott
Nilai
0 0 0
Versi
3.1.4
Dibuat
18 Februari 2018
Diperbarui
03 Januari 2019
Lisensi
GPL-3.0-or-later
Berlaku untuk

VERSION 3.1.4 • FIXED: Up and down arrow navigation didn't work properly if audio and video files were present in the same directory. • FIXED: Prev/Next buttons in audio player weren't working. • FIXED: Content pane didn't resize when audio player was closed. • CHANGED: If autoload_media = false, don't autoload cover art when next audio track loads. • IMPROVED: Better support for certain server-generated index pages.

VERSION 3.1.3 • FIXED: Directories weren't being sorted properly because ending "/" in name was being considered.

VERSION 3.1.2 More apologies for another minor fix. • Grids had transparent backgrounds with light theme, so hidden content was visible underneath.

VERSION 3.1.1 Sorry, one additional minor update. This should be it for a while. • CHANGED: If autoload_media = false, don't select anything. • FIXED: Image grid columns weren't flexing to fill width.

** VERSION 3.1.0** • Improved font and image grid previews: added borders, unstyled font file names for clarity, styled font file names are no longer lowercased, and dashes and underscores are replaced with spaces, title attribute for image grid items. • Various small UI tweaks.

VERSION 3.0.0 • NEW: Support for video playback (finally!). Default supported video extensions: .mpeg, .mov, .m4v, .webm, .mp4 (add additional extensions in the code in $rowtypes > video). (If your browser doesn't support a particular video format, this script will not change that.) • IMPROVED: Cover art auto-selection: files with "back" in the name will be ignored and files with "front" or "cover" in the name will be selected. • IMPROVED: Directory preview styling. • IMPROVED: Better support for Firefox. • ADDED: "Autoload media" menu item. • CHANGED: "autoloadaudio" renamed to "autoloadmedia"; if you export your user settings, please this update this item accordingly when you paste them back in. • CHANGED: Completely reworked arrow navigation and autoloadmedia behavior because previous behavior was confusing. • Up/Down Arrows will now always select the prev/next row. • If the audio player is not visible, it will be displayed and the selected audio file will be loaded for playback. • If audio is playing and the prev/next selected file is also audio, it will be selected but not loaded, so that the currently playing audio will not be interrupted. (Press return/enter to load and begin playback of selected audio.) • Selecting audio files deselects video files and closes video player. • Selecting video files deselects audio files and closes audio player. • Left/Right Arrows will now always select the prev/next row of the same sort kind as the currently selected file, except: • if the current selection is an audio file, the L/R arrows will select and begin playback of that selection.) • Note that if the current selection is not an audio file, any currently playing audio will continue without interruption. • FIXED: Media files did not scroll into view when next file began playing. • CHANGED: Autoload cover art now works irrespective of "autoloadmedia" setting. • IMPROVED: Left/Right arrow navigation will select prev/next dir or row if there are no media, image, or font files are in the directory. • IMPROVED: You can now close previewed content and audio files separately from each other. • CHANGED: Audio file titles shown separately from other file or dir titles. • IMPROVED: Added string normalization for navigation by typed string: accented characters will be matched by their base ASCII letter (e.g., á = a, Ñ = n, ß = s, etc.). • IMPROVED: Added "other" sort category for files whose extensions are not listed in $rowtypes. • FIXED: Parent links were incorrectly formatted. • FIXED: Arrow buttons in preview pane were not working properly. Now, if an image or font is displayed, clicking the arrows will select the prev/next image or font file. • ADDED: Contact link in shortcuts menu • FIXED: "Donate" link. • Fixes for various style glitches introduced in the last version. • Many, many other small fixes. • CHANGED: moved $row_types to just below user settings, for easier management and updates. • Internal: Reorganized, abstracted, and DRYed many functions; added more comments.

ABOUT This script transforms the default local directory page (and many server-generated index pages) into a full-featured file browser, with a resizable sidebar and preview pane. (See screenshots below.)

If you like this script, please consider making a donation to encourage development. Thanks!

FEATURES: Arrow and typed-string navigation of items; browse and preview html, plain text files, images, pdfs, fonts, directories, etc.; autoplay audio and video files; grid views of images/fonts; user-defined bookmarks; user-defined ignored file types; show or hide invisible files (Unx/Mac OS only); navigate apps as folders (Unx/Mac OS only); and more.

IMPORTANT: After installing, you should look at the "User Settings" section in the code at the top of the script. There you can edit the shortcut menus and set defaults for many UI features. There is additional information in the comments.

NOTE: By default, userscripts will not run on file:/// urls, so for this script to work, you will have to enable it in your browser extension settings (e.g.: For Tampermonkey in Chrome, go to Chrome the extension page, click the details button on the Tampermonkey pane and check 'Allow access to file URLs'). Safari does not allow local directories to be browsed, so the script will not work on local directories, but it will work on remote directories (or on local directories through a local server).

NOTE: The script works on many server-generated index pages, too. Just add an @include line for each url at the top of the script.

NOTE: This script was developed in Vivaldi, running on Mac OS Mojave. It has been tested in several other Chrome and Gecko-based browsers. It has been very minimally tested on Windows and not at all on other OSes or browsers. It should work, but please report any issues.

KEYBINDINGS: Arrow Up/Down: Select prev/next item. If audio is playing, and prev/next file is also audio, it will be selected but not loaded in the audio player; press return to load it. Arrow Left/Right: Select prev/next row of the same kind as the current selection, except if current selection is a media file, select and begin playback of that item. Cmd/Ctrl + Arrow Up: Go to parent directory Opt/Alt + Arrow Left/Right: Skip audio ±10s Shift + Opt/Alt + Arrow Left/Right: Skip audio ±30s Space: Pause/Play media files Return: Open selected directory, select file, or pause/play media. Cmd/Ctrl + D: Toggle file details (size, date modified) in some index page types. Cmd/Ctrl + G: Show or Reset Grid Cmd/Ctrl + I: Toggle Invisibles Cmd/Ctrl + Shift + O: Open selected item in new window/tab Cmd/Ctrl + R: Reload grids and previewed content, reset scaled images/fonts, reset media files to beginning. Cmd/Ctrl + W: Close previewed content (doesn't work in all browsers; use close button instead), or close window if no content is being previewed. Cmd/Ctrl + Shift + </>: Scale preview items and grids.