Commit Graph

20 Commits

Author SHA1 Message Date
winkidney
2d9b952482 Feature: Use page title as default description 2018-08-26 00:31:24 -07:00
winkidney
b7135b64aa Feature: Add referer field for Pin 2018-08-21 19:52:21 +08:00
Lapo Luchini
cbcd9c5f8b Ease code readability (and be closer to original too). 2017-04-22 15:46:00 +02:00
Lapo Luchini
ddf2891480 Remove the need for jQuery. 2017-04-22 13:27:39 +02:00
Isaac Bythewood
69ccee06cc Merge pull request #83 from lapo-luchini/bookmarklet2
bookmarklet improvements to the image preview
2016-02-03 20:36:24 -05:00
Lapo Luchini
ac8419d749 Improvements to the image preview:
- show the image size on top of the preview.
- scale down the preview to view (most) of the image instead of just the center.
2015-01-20 10:24:27 +01:00
Lapo Luchini
9e901485ee Allow closing pinry with ESC or clicking on header.
On close, remove the script as well as the images.
2015-01-20 10:18:58 +01:00
Lapo Luchini
e2f61176dd Properly encode query string parameters. 2014-05-28 16:10:08 +02:00
Lapo Luchini
a2ab9a2b8c Use .src to get absolute URL as calculated by the browser. 2014-05-28 15:58:00 +02:00
Lapo Luchini
0549bb5113 Use jQuery as soon as it is loaded. 2014-05-28 15:47:55 +02:00
Tyler Stalder
c3d998654f Use jQuery because you're checking for window.jQuery
Some sites put jQuery into noConflict mode and don't bind to $. One example is http://shop.timberland.com/ so the pinry bookmarklet would not work. It will throw a 'document does not have a method ready' error. This change just wraps all of the jQuery specific code to use the current jQuery as $.

http://api.jquery.com/jQuery.noConflict/
2013-11-24 17:51:08 -08:00
Isaac Bythewood
1d8b2b151a Scroll bookmarklet to the top 2013-03-05 22:05:04 +00:00
Isaac Bythewood
dedf33183b Improve bookmarklet form 2013-03-05 22:02:35 +00:00
Isaac Bythewood
13829866d1 Fix bug in appending jQuery if needed. 2013-03-03 11:06:22 -05:00
Isaac Bythewood
ec27f1cfb8 Bug fixes to bookmarklet and pin-form 2013-03-03 13:05:38 +00:00
Isaac Bythewood
7ee8fd6d98 Greatly improved bookmarklet pinning functionality, much better pin form 2013-02-27 07:38:38 +00:00
Isaac Bythewood
e0362a0298 Cleaning up and improveing the bookmarklet 2013-02-27 01:58:00 +00:00
Isaac Bythewood
fa7e8c3b83 Get basic working bookmarklet and refactor API into core 2013-02-26 23:20:50 +00:00
Isaac Bythewood
9f5cc2de57 Working new pin form 2013-02-26 01:54:02 +00:00
Isaac Bythewood
f5ef3a0c2b Get bookmarklet mostly setup 2013-02-25 04:34:49 +00:00