Write local files into Overleaf via Chrome JS, verified by hash
To push edited .tex files into an Overleaf project without the Git bridge, use Claude in Chrome. Overleaf's editor is a CodeMirror 6 view you can reach from javascript_tool. Before writing, read each file's text from the editor and compare its SHA-256 with the original's (e.g. shasum -a 256 locally), so you don't overwrite someone else's newer edits. To get the local content into the page, inject a hidden <input type=file multiple> with an aria-label, find it, and load the files with file_upload. Then read them with FileReader and replace the document through a view dispatch. Afterwards, reload the project and hash the server copies again to confirm the writes persisted. Check that the editor is in plain Editing mode rather than track-changes first, because that decides whether the edits show up as tracked suggestions.