Recent posts by Hey there stranger
|
Apr 24, 2007
|
Topic: Ideas and script requests / Simple link rewrite script Hi Henrik, thanks for your help. :) I'm doing something similar (although my code is a bit more... clumsy ;) but it still throws a couple of exceptions every once in a while. I'll see if it's just my browser (or one of my extensions) or something when I get a chance. Thanks again. - Tony Edit: Argh, I finally found the source of my problem. The script does in fact work. It's just that I'm trying to use it with an extension and since Greasemonkey only rewrites the page after it's been loaded, I'm seeing the modified page whereas the extension is seeing the original page. |
|
Apr 23, 2007
|
Topic: Ideas and script requests / Script request- Gmail Send Later Interesting idea. The major problem I see is that Gmail doesn't support delayed sending (ie. server-side). Therefore, you'd have to do everything on the user's side of the equation which means leaving the browser open, and thus, sort of defying the point. The only other way I can think of is to relay the message to a 3rd party server which remails it using Gmail. I'm pretty sure that violates the TOS in some way though and in any case, you'd have to give the 3rd party your login and password. |
|
Apr 23, 2007
|
Topic: Ideas and script requests / Simple link rewrite script Hi, I'm trying to do something really basic but for some reason, I can't seem to get my poor excuse for a script to work (and Firefox's error console isn't much help either). Basically, what I'm trying to do is to rewrite a /b/ URL. The basic page layout is like this: link to a picture (href value is http://host/src/filename.jpg). And then we've got an image inline link to http://host/src.cgi/filename.jpg. Both are links actually reference the same file. Since the URLs aren't the same, all my scripts assume they reference different images. Therefore, what I'm trying to do is to cycle through a bunch of s/src/g calls which replace 'src' with 'src.cgi' (or vice versa). In any case, I want to the link and the inline href to point to the same URL but I can't seem to make it work. Any help would be greatly appreciated. :) -Tony |
