-
Notifications
You must be signed in to change notification settings - Fork 19
Local Files
Infy can work offline and allow you to infinitely scroll through your own local files on your computer. First, you need to give it permission to do so in your Browser's Extension Options. The steps differ depending on the browser you are using:
- Navigate your browser to
chrome://extensions
- Find Infy Scroll in the Extension List and click the Details Button
- Toggle on
Allow access to file URLs
- Navigate your browser to
edge://extensions
- Find Infy Scroll in the Extension List and click the Details Button
- Check
Allow access to file URLs
There shouldn't be any steps required in Firefox.
It's possible to append an entire folder of files. First, you'll want to open up the first file into a tab in your browser.
If the files are all numbered in an incrementable sequence (e.g. 001
, 002
, ...), then you can simply use the Increment URL
action and start with the first file. If the files aren't in a sequence, you can use the URL List
action and follow the steps below to get all their paths.
This should be straightforward; if you're appending images, videos, or audio files, use Media
. If you're appending local html files, see the section below.
In Windows, using File Explorer you can copy the full paths to all the files like so:
- Select all the files (
Ctrl+A
) - On the very first file, hold
Shift
andRight Click
it to bring up the context menu - Select
Copy as path
from the context menu
You now have the paths to all the files in your clipboard. Before you can paste them into Infy's URL List text input, you need to manually remove the "
characters. This can be done by pasting them into a text editor and using its "replace all" function, replacing "
with an empty string. (I recommend using Notepad++.) In a future update, this step will no longer be needed as Infy can simply ignore the "
characters.
In Windows, if you rename all the files to the same name, it will add a (x)
to the file name, where x
is a number starting with 1
and increments it. This can allow you to use the Increment URL
action starting with the first file.
In addition to appending local media/image files on your computer (using the Media
Append Mode), it's also technically possible to load local HTML files (using the URL List
or Increment URL
Action and the Page
or Element
Append Modes, but you need to tell your browser it's OK to do so. It's a complex security issue, primarily because browsers don't want JavaScript code to be able to load your other local files without your permission.
So, the way you tell your browser to disable the security constraint is:
- Chrome/Edge: Start the browser from the command line with the
--allow-file-access-from-files
flag - Firefox: Navigate to
about:config
and setprivacy.file_unique_origin
tofalse
(Note: I obviously can't recommend leaving this setting on permanently!)