Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple "Save to Kippt" button
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
save-button/img
.gitignore
LICENSE
README.md
test-page.html
widgets.js

README.md

kippt-button

Simple "Save to Kippt" button.

Button opens Kippt's extension page with specific parameters.

Install

You can install "Save to Kippt" button to any site without the code on this site. Include the following file:

<script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="http://addons.kippt.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","kippt-wjs"));</script>

And format links the following way:

<a href="https://kippt.com/save" class="kippt-save-button" data-url="https://kippt.com/karrisaarinen/" data-title="Karri Saarinen on Kippt" data-source="example.com">Save to Kippt</a>

Attributes:

  • data-url - URL to save
  • data-title - (Optional) Title for the page
  • data-source - (Optional) Source, e.g. page domain
  • data-via - (Optional) Source clip URI if you want to reference another clip inside Kippt (e.g. /api/clips/1337/)

Requirements

  • jQuery / Zepto

TODO

  • Remove $ dependency
  • Add HTTPS enabled CDN
Something went wrong with that request. Please try again.