This will allow any Turbowarp project unrestricted access any file you specify, which means it could modify, delete, or inject something into a file without you even knowing about it! Never allow access to files that you care about to a project you’re not familiar with.
Your browser must support the File System Access API, you can find a support list here. Otherwise, the extension will not work.
To use this extension in Turbowarp (or in it’s very plentiful mods), open Add Extension > Custom Extension and paste this link.
YOU MUST LOAD UNSANDBOXED. OTHERWISE IT WILL NOT IMPORT.
https://anonymous-cat1.github.io/Update-File/extension.js
Set File
block. This should open your system’s file picker.Write content to file from [Format Dropdown] (Text)
block.Dropdown options:
Text
URI/URL (using a url will download whatever content the page has)
Get content from file as [Format Dropdown]
reporter.Dropdown options:
Text
URI (always encoded as Base64)
Hex (returns an array of bytes)
Get file metadata as JSON
reporter.Is file opened?
boolean.Browser supports Direct Access?
boolean.Close File
.