public
Clone URL: git://github.com/robbyrussell/rubyurl.git
Search Repo:
Updating the bookmarklet so that it encodes the URL in javascript

git-svn-id: https://svn.roundhaus.com/planetargon/rubyurl_2-0/trunk@77 
f0bc2f90-cf15-dc11-b192-0016e6374d05
robbyrussell (author)
Tue Aug 28 08:35:45 -0700 2007
commit  187d4b12999ac7085890b70034bc8650b0fae6df
tree    928dba9eeaf85e8743fb0b359c19ac60f449c1d1
parent  4e0078392a2f7b7fd4f1f8f1c79b1c88b584d010
...
7
8
9
10
 
11
12
...
7
8
9
 
10
11
12
0
@@ -7,7 +7,7 @@
0
   <h2>Add RubyURL to your favorite browser</h2>
0
   <p>Just drag the link below to the bookmarks toolbar of your browser and create RubyURLs on the fly!</p>
0
   <div id="action" class="arrow">
0
- <a href="javascript:void(location.href='http://rubyurl.com/rubyurl/remote?website_url='+location.href)">RubyURL this Link</a>
0
+ <a href="javascript:void(location.href='http://rubyurl.com/rubyurl/remote?website_url='+encodeURIComponent(location.href)')">RubyURL this Link</a>
0
   </div>
0
 </div><!-- end app_content -->

Comments

    No one has commented yet.