From: Gabriel Dunne Date: Sun, 18 Dec 2011 22:22:28 +0000 (-0800) Subject: base_dir in bookmarklet X-Git-Tag: v0.1~46 X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=6b59ba84ff9f2b5ad051818130cb16db089a3379;p=clmpr.git base_dir in bookmarklet --- diff --git a/bookmarklet.js b/bookmarklet.js index 6ed8f4d..6cc0f16 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -4,7 +4,7 @@ b = document, c = encodeURIComponent, d = w.open( - 'http://clmpr/new.php?' + 'http://{BASE_URL}/new.php?' + 'url=' + c(b.location) + '&title=' + c(b.title || b.location) , 'clmpr_popup' diff --git a/get.php b/get.php index e6aa1f7..c37c600 100644 --- a/get.php +++ b/get.php @@ -72,6 +72,7 @@ case 'xml' : bookmarklet: +