4 ms·
i just append until the file is large enough. i one time made a html version that takes a query. js finds the line matching the text then hides everything befo
by lizardmancan 7y ago
i just append until the file is large enough.
i one time made a html version that takes a query. js finds the line matching the text then hides everything before the previous seperator and after the next one. if a key is pressed it seeks the next match, if there isnt a (next) match foo-07.html forwards the query to foo-08.html which might not exist (haha) it shouldn't be so hard to update the js with a max value or check if it exists first but without such luxury it worked amazingly well for the amount of code involved