Text Highlight and Seek

Automatically highlight user-defined text with Seek function (2019-09-22)

< Valutazione su Text Highlight and Seek

Domanda/commento

§
Pubblicato: 14/05/2020
Modificato: 14/05/2020

Cannot export the complete sets

Hello, I cannot export the complete text of my sets. After the first 999 chars, the exported text is replaced with an ellipsis (...), then followed by the last 998 chars. So I guess this is caused by some limit of 2000 chars max to the exported settings. What can I do to increase it to, say, 10000 chars?

§
Pubblicato: 14/05/2020

UPD: Seems to be the limitation of prompt() in Chrome. I ended up editing the script to look like this:

function kwhiexport(e){ var newWin = window.open(); newWin.document.write(JSON.stringify(hlobj)); newWin.document.close(); }

§
Pubblicato: 14/05/2020

Thank you for tracking that down. I hadn't heard about that limitation. Probably I should create a textarea to copy from instead of using a prompt.

Pubblica risposta

Accedi per pubblicare una risposta.

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