adding source URL to "add to RTM!" bookmarking feature

carnicer says:
hi, i'm a new user, registered yesterday. i have registered because of the "add to RTM!" feature on the bookmarks toolbar (add tasks from the web), i thought it could be very useful to me. but i find it lacks something.
i think it would be very useful to add the source URL to the task (i.e., the URL from where you are bookmarking). in order not to break everything, perhaps this could be done as a note. simply adding a checkbox "add this URL as a note" on the bookmarking popup / form.
what do you think? would it be useful? easily implementable?
i think it would be very useful to add the source URL to the task (i.e., the URL from where you are bookmarking). in order not to break everything, perhaps this could be done as a note. simply adding a checkbox "add this URL as a note" on the bookmarking popup / form.
what do you think? would it be useful? easily implementable?

You need this bookmarklet, works in IE and Firefox at least (remove the _ in java_script, save as bookmark URL):
java_script:(function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else%20if(document.getSelection){t=document.getSelection();}else%20if(document.selection){t=document.selection.createRange().text;};cp='http://'+h+p+'?name='+((null==t||t==""||t==undefined)?encodeURIComponent(document.title):t)+'&url='+encodeURIComponent(location.href);w=window.open(cp,'addwindow','status=no,toolbar=no,width=250,height=560,resizable=yes');setTimeout(function(){w.focus();},500);})();
It uses the mobile site so you will have to log in once there.
java_script:(function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else%20if(document.getSelection){t=document.getSelection();}else%20if(document.selection){t=document.selection.createRange().text;};cp='http://'+h+p+'?name='+((null==t||t==""||t==undefined)?encodeURIComponent(document.title):t)+'&url='+encodeURIComponent(location.href);w=window.open(cp,'addwindow','status=no,toolbar=no,width=250,height=560,resizable=yes');setTimeout(function(){w.focus();},500);})();
It uses the mobile site so you will have to log in once there.

carnicer says:
wow! pretty impressive. used firefox 3 under linux. actually, i had not realized tasks have a URL field. thanks so much :)
(it took me a while to figure out i had to edit the bookmark and replace the text by the one you provided - this is not a complain)
(it took me a while to figure out i had to edit the bookmark and replace the text by the one you provided - this is not a complain)


(closed account) says:
This is a superb little tool, and will be very useful for me, Thanks!

bjbernard says:
this is great! any idea how to open this in the firefox sidebar instead of in a new window?

buckbrody says:
I am struggling to get this to work. Exactly what should I be using as the URL?


mildfuzz says:
this is much better than the real deal, why don't they just swap it over?

(closed account) says:
Huge improvement - thanks for posting this!

fenwick.justin says:
Incredible! FYI you paste the javascript into your address bar and add it as a favorite, capturing the javascript, not the link.
It catches the web address and highlighted text!
It catches the web address and highlighted text!

(closed account) says:
Thank you! Saves a lot of time.

juliakm says:
In case anyone is still stuck, the following works in Firefox 3:
#(function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else%20if(document.getSelection){t=document.getSelection();}else%20if(document.selection){t=document.selection.createRange().text;};cp='http://'+h+p+'?name='+((null==t||t==""||t==undefined)?encodeURIComponent(document.title):t)+'&url='+encodeURIComponent(location.href);w=window.open(cp,'addwindow','status=no,toolbar=no,width=250,height=560,resizable=yes');setTimeout(function(){w.focus();},500);})();
#(function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else%20if(document.getSelection){t=document.getSelection();}else%20if(document.selection){t=document.selection.createRange().text;};cp='http://'+h+p+'?name='+((null==t||t==""||t==undefined)?encodeURIComponent(document.title):t)+'&url='+encodeURIComponent(location.href);w=window.open(cp,'addwindow','status=no,toolbar=no,width=250,height=560,resizable=yes');setTimeout(function(){w.focus();},500);})();

stoweboyd says:
I got this working. Thanks.

wernight says:
What about RTM add the feature of setting "url" field of the task? As carnicer said, there could be checkbox - is there any reason not to copy the url? yes probably sometimes.
Another way could be like http://www.rememberthemilk.com/forums/ideas/9448/
Another way could be like http://www.rememberthemilk.com/forums/ideas/9448/

(closed account) says:
Anyone know how I can make this script work in Chrome? I can't get the URL to capture.
Thx
Thx