On Wed, Jan 26, 2011 at 07:40:44PM +0000, Jim Burton wrote:
> Hi. This function used to work OK, but now `encodeURIComponent(url)'
> returns undefined. How should I be doing it?
>
> function citeulike_post (i) {
> check_buffer(i.buffer, content_buffer);
> let title = i.buffer.title;
> let url = i.buffer.display_URI_string;
>
> i.buffer.load("http://www.citeulike.org/posturl?username=ME&bml=nopopup&url="+encodeURIComponent(url)+'&title='+encodeURIComponent(title));
> }
>
> Thanks,
>
> Jim
Rename display_URI_string to display_uri_string and it should be fine.
http://conkeror.org/BreakingChanges#September22.2C2009
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror