토론 » 제작 요청

can i make tamper monkey save console logs (firefox) into a file every refreash or into a big file

§
게시: 2022-03-13

need help

§
게시: 2022-03-13
수정: 2022-03-13

Looking this might help https://stackoverflow.com/questions/13763361/get-console-history

Then download the logs using this code
const link = document.createElement("a"); //Creates a new link element
link.href = "data:text/plain;charset=utf-8," + 'browser console logs'; //The browser logs goes here
link.download = 'logs'; //Add the file name and download to the link element
link.click(); //Click on the link element

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。