Are there any limits to the amount of text one can 'grab' with window.getSelection or document.selection.createRange()?
I can't seem to find this info anywhere?
Do window.getSelection()
or document.selection.c开发者_开发问答reateRange()
hold a set # of characters or can they hold an infinite/huge #?
I am working on a bookmarklet and want to know if I need to restrict the amount of text one copies.
There's no limit other than the normal practical limits in the size of a web page.
精彩评论