[Greasemonkey] I wonder if this is even possible...

Tod Beardsley todb at planb-security.net
Tue Jul 11 17:23:37 EDT 2006


On 7/10/06, Johan Sundström <oyasumi at gmail.com> wrote:

> No; user scripts do not have high enough privileges to touch disk.

I wonder if it would be practical to fake it though through
GM_setValue and GM_getValue, though -- since these are persistant,
couldn't you keep data: URI's of the images in there? Performance will
suck when you have more than a few.

Another (better) option would be to run a web server on localhost, and
get Gm to snag your image turn around and HTTP Post them to your own
local storage app. Course, that's kind of a lot of work to cheat the
whole no-storing-files-locally restriction...

-- 
planb-security.net | ICQ: 335082155 | Note: Due to Google's privacy
policy <http://tinyurl.com/5xbtl> and the United States' policy on
electronic surveillance <http://tinyurl.com/muuyl>, please do not
IM/e-mail me anything you wish to remain secret or private.


More information about the Greasemonkey mailing list