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 05 April 2018. Lihat %(latest_version_link).

Penulis
gaspar_schott
Nilai
0 0 0
Versi
2.1.0
Dibuat
18 Februari 2018
Diperbarui
05 April 2018
Lisensi
GPL-3.0
Berlaku untuk

v. 2.1.0
• Added: Temporarily toggle Default/Dark modes menu item while browsing current directory; mode reverts to saved setting on dir change.
• Added: White background for images so that images with transparency are visible against the grey background
• Removed trailing "/" from directory display names.
• Fixed an issue where font and image grid display got confused about what content to display.
• Fixed directory names display in dark mode in server pages that use lists instead of tables.
• Better styling for grid button.
• Better styling for grid items in dark mode.
• Remember to copy your settings from the script before updating!

v. 2.0.2
• Various fixes suggested by "Zorg":
• Dark mode now ignores html files (and media files), but inverts all plain text files. This solution is not perfect: there is a flash of inverted content when navigating from an html or media file to a non-html or media file; will look for a fix.
• Fixed display of non-Latin characters in sidebar header.
• Add support for Linux "home" directory for user profile shortcuts (hopefully).
• Made entire up directory button clickable.

v. 2.0.1
• Fixed wonky font preview scaling.

v. 2.0
• NEW! Not just for local directories anymore! Added support for *many* server-generated directory index pages (It's impossible to check every server configuration, needless to say, so it might not work in every case; let me know if you encounter problems.)
• NEW! Preview font files (otf, ttf, woff, woff2). Great for designers: preview fonts without installing them. Take screenshots to use in other applications. Font preview pane is content-editable. Hint: To install previewed fonts, just type Cmd/Ctrl + Shift + O or right-click the link and save it to your fonts folder.
• NEW! Font grid view: preview all fonts in a directory. (Also view all images and fonts together.)
• Added: Use the Left and Right arrow keys to navigate through images and fonts in a folder, skipping other files. Use up and down arrow keys to navigate all files normally.
• Added: Basic dark mode user setting.
• Added: Wrap-around keyboard navigation.
• Added: Cmd/Ctr-D to toggle details.
• Added: Cmd/Ctr-Shift-. and Cmd/Ctr-Shift-, to scale font previews text size.
• Changed: Moved dynamically-added in-line styles to appended stylesheet.
• Changed: Extensive refactoring of code for better separation of concerns. (More needs to be done... Sigh..)
• Removed: ScrollIntoView for Grid views. Scrolling didn't work reliably when the sidebar was also being scrolled. Will restore when bug fixed.
• Many small bug fixes.

v. 1.4
• Added: Initial support for Firefox. Tested in Firefox 59, Waterfox 56.
• Changed: Use SVG for menu icons
• Changed: Code cleanup, reorganization
• Renamed script to "Supercharged Local Directory File Browser"

v. 1.3
• Fixed: Keyboard navigation of ignored or invisible items fails if "Hide Invisibles" is toggled off after loading a directory.
• Added: Also hide ignored files if "Hide Invisibles" is checked.
• Added: Content reload button.
• Changed: Reorganized settings to reduce confusion about how ignored files are treated.

v. 1.2
• Click to show menus instead of hover.
• Added Cmd/Crl+Shift+O keybinding to open selected item in new window
• Arrow navigation bugfixes

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

Features: keyboard navigation, user-defined bookmarks, filter or ignore file types, show grid of all images and/or fonts in a directory, show or hide invisible files (Mac OS only), navigate apps as folders (Mac OS only), and more.

After installing, you should add your User Name in the settings section of the script. Add directory paths to the shortcuts sections. Additional instructions for other settings can be found there.

Keyboard shortcuts:
• Up arrow, Down arrow: navigate up and down the directory list.
• Left or Right arrow: go to next or previous image in directory, skipping other files
• Cmd/Ctr + Up arrow: go to parent directory
• Cmd/Ctr + Down arrow, Right-arrow: open directory
• Enter/Return: Open directory or file.
• Cmd/Ctr + D: Toggle File Details
• Cmd/Ctr + G: Show image grid (Click grid icon if fonts and images are present in the directory to choose to show only one or the other.)
• Cmd/Ctr + I: Toggle invisible files (Mac OS only)
• Cmd/Ctr + Shift + O: Open selected file in new window
• Cmd/Ctr + R: Reload previewed content or reload page if no content.
• Cmd/Ctr + W: Close preview pane (or window/tab if no content in preview pane) Note: doesn't work in Firefox; can't override default behavior.
• Cmd/Ctr + Shift + < & Cmd/Ctr + Shift + > : Scale font preview text size.

IMPORTANT: Because user_scripts are not allowed to set cookies or access the browser's localStorage from local files, you will loose your user settings when the script is updated. Please back them up before updating.

NOTE: This script was developed in Vivaldi, running on Mac OS High Sierra, and has been tested in Chromium, Opera Next, Iridium. In general, it should work in all Chrome-based browsers. It has been minimally tested in Windows 10 on Chrome; please report any issues you encounter. It does not work in Safari because Safari does not allow local directories to be browsed.

NOTE: By default, Greasemonkey and Tampermonkey will not run scripts on file:/// urls. For this script to work, you will have to allow these extensions to access local files.
• For Greasemonkey, open about:config and change greasemonkey.fileIsGreaseable to true. (Apparently this option is not available in recent versions of Firefox.)
• For Tampermonkey, go to Chrome extension page, and tick the 'Allow access to file URLs' checkbox at the Tampermonkey extension section.