bookmarklet
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 #?[详细]
2023-03-13 11:49 分类:问答How can a web page be redirected to a data: uri from http://?
I would like to load a webpage with limited contact to a server. I have a cross-application link but safari just will not open the data: uri. Is there anyway to begin that with http://? What about jav[详细]
2023-03-13 03:53 分类:问答Why is programmatic click not working on IE or Chrome?
I\'m using this bookmarklet to programmatically click on the search button in Google\'s Keyword Tool:[详细]
2023-03-12 20:37 分类:问答Bookmarklet javascript working in Chrome but no Firefox or Safari
I want to use this bookmarklet for flickr, the code I have is this javascript:prompt(\'Copy the BBcode below\',\'<div class=\"img-link\"><a href=\"\'+location.href+\'\">\'+document.evalua[详细]
2023-03-12 10:00 分类:问答Using Themeroller Bookmarklet
I want to make my jQuery-UI-using webpage themeable with the Themeroller Firefox bookmarklet. When I open the bookmarklet on the themeroller demopage, everything changes like expected. On my own page,[详细]
2023-03-12 06:04 分类:问答bookmarklet : how to get the html of the page you want to run the bookmarklet on?
javascript bookmarklets can use document object to get selected text or links. But how do I get the whole html?[详细]
2023-03-11 15:27 分类:问答jQuery: How should I structure a new list that's generated by jQuery
edit: This question is about jQuery refactoring. Basically I have a big block of code but I want to see if other folks can think of a better way to refactor it. Since I\'m new to jQuery I\'m not sure[详细]
2023-03-10 00:29 分类:问答Use Javascript Bookmarklet to Chunk Page Content by Headings (part 2)
I\'ve some javascript that @pimvdb helped me with here, and I was wondering if it could be tweaked so that it wo开发者_JAVA技巧uld group lesser heading\'s div\'s within the next higher\'s div.[详细]
2023-03-08 13:01 分类:问答What is the PHP equivalent of this Perl script?
Some explanation here. This is for converting arbitrary javascript code to code suitable for bookmarklets.[详细]
2023-03-08 08:11 分类:问答Google Docs Bookmarklet causes error message
I\'ve found that if you try alter the Google Docs word editor by adding custom scripts it causes an error the moment text wraps onto a new line开发者_Python百科 or if you hit enter.[详细]
2023-03-08 03:19 分类:问答