indiesocial
v1.0.0
Published
use social share links without foreign scripts
Downloads
12
Maintainers
Readme
IndieSocial
JavaScript library which let you use social share links without foreign scripts. Control all your data, protect your privacy.
- Without foreign scripts.
- Protect privacy.
- Easy customizable with CSS and JS.
- Works perfectly with Fontello.
- Released under CC0 License.
- Near 1 KB minified and gzipped.
How to use
- Load indiesocial.js.
- Place element with id="indiesocial-init" where you want see buttons.
- Configure it.
You can also install IndieSocial with bower...
bower install indiesocial
...or npm, the package manager for JavaScript
npm install indiesocial
Parameters
- Enable social share links: data-indieSocialServices. Set to all if you want use all services.
- Add Fontello icons to share links: data-addFontelloIcon Possible values: true or false. Default: false.
- Add text to share links: data-addText Possible values: true or false. Default: false.
- Set URL for share: data-URL. Default: window.location.
- Set title: data-title. Not work with Google+, use OpenGraph.
Supported services
- VK
- Odnoklassniki
- Google+
- FriendFeed
- Tumblr
- Blogger
- Diigo
- Delicious
- Digg
- StumbleUpon
- Evernote
- Instapaper
- Hacker News