Commit Graph

93 Commits (b5b02ca883c3a796a6033be474e5df40616174c6)

Author SHA1 Message Date
im-denisenko b5b02ca883 Add https support to odnoklassniki using yandex as proxy 2015-02-12 20:10:18 +03:00
Artem Sapegin 66338641c6 Try to fix Odnoklassniki counter on mobiles. Fix #94. 2015-01-19 12:17:14 +03:00
Artem Sapegin adce2e7245 Remove non-numerical characters from counters before conversion to number. Fix #105.
Google+ (Yandex Share) sometimes send “3.354”.
2015-01-19 11:28:01 +03:00
Artem Sapegin 02f00f9501 $.click -> $.on. 2015-01-18 22:32:43 +03:00
Artem Sapegin 4e1ef36ccb Update Odnoklassniki popup URL to prevent redirect. 2015-01-13 18:09:14 +03:00
Artem Sapegin 5710ce8ee7 Always use HTTP for VK counter (HTTP causes redirect). 2015-01-13 18:03:30 +03:00
Artem Sapegin 7baede6751 Fix Odnoklassniki URL to prevent redirect. 2014-12-11 16:31:33 +03:00
Rebrov Boris 8bcaa884b7 odnoklassniki now finally support retrieving count of likes over https 2014-12-09 17:45:04 +03:00
Artem Sapegin 3f87886af5 Delay counters initialization because it prevented counters to show up after reinitialization with the same URL. 2014-11-20 18:32:02 +03:00
Artem Sapegin 130f5e0c81 Do not request Odnoklassniki counter via HTTPS. 2014-11-20 15:49:07 +03:00
Artem Sapegin 8832317c42 Tweak Odnoklassniki couter request. 2014-11-20 15:31:34 +03:00
Artem Sapegin 534781298a Revert older Odnoklassniki counter API. 2014-11-20 15:30:33 +03:00
Artem Sapegin b4b3829c6d Revert "Change Odnoklassniki counter API to work via HTTPS."
This "new" API don't work anymore and won't be supported.

This reverts commit e3f9d54d99.
2014-11-20 15:19:30 +03:00
Artem Sapegin 6cabbf1dc0 Fix single button mode. 2014-11-06 11:53:17 +03:00
Rebrov Boris e3f9d54d99 Change Odnoklassniki counter API to work via HTTPS. 2014-10-23 18:00:15 +04:00
Artem Sapegin e30e52f6e5 Calculate real number of counters.
On HTTPS pages Google+ counter won’t work because Yandex Share API
doesn’t support HTTPS. In this case counter would never appear because
number of buttons is not the same as number of counters we could
request and show.
2014-10-09 11:08:28 +04:00
Artem Sapegin d8740c5177 Add comment explaining why there are only one Google+ counter per session. 2014-09-10 21:43:40 +04:00
Artem Sapegin 9a1abecffb Add comment. 2014-04-28 18:20:30 +04:00
Artem Sapegin 9a63f3b01c Fix typo in comment. 2014-04-28 18:20:30 +04:00
Alexey Tatarinov 84882968cb Update social-likes.js
Fix closure compiler error:
"ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
        'class': this.getElementClassNames('counter'),"
2014-04-11 05:37:26 -07:00
Artem Sapegin 09a691c7a9 Service detection refactoring (#61). 2014-04-10 09:51:02 +04:00
fliptheweb d8f0845a8c Skip excess loop in detectService 2014-04-05 15:54:18 +11:00
fliptheweb f3444317c7 Optional detect service from data-service attribute 2014-04-05 01:31:14 +11:00
Artem Sapegin e0627dce23 Update jscs and other deps. 2014-04-04 17:00:38 +04:00
Artem Sapegin 73082c20fb Disable Google+ counter on HTTPS pages (close #58). 2014-04-01 13:11:56 +04:00
Artem Sapegin 5ed3e956e2 Always use HTTPS for Twitter (#58). 2014-04-01 13:11:21 +04:00
Artem Sapegin df66b102ca Toggle single button popup on button click. 2014-04-01 12:49:35 +04:00
Artem Sapegin 6d2fc9255c Fix paddings on single button popup in Birman skin in Safari. 2014-04-01 12:39:23 +04:00
Artem Sapegin 70d7039117 popup_opened and popup_closed events. 2014-02-12 16:40:51 +04:00
Artem Sapegin 82594924a5 forceUpdate option. 2014-02-12 16:22:04 +04:00
Artem Sapegin bd2f6f9a83 Fix `class` in IE. 2014-02-12 15:52:58 +04:00
Artem Sapegin 9dea9eb48b Dynamic change of Pinterest image. 2014-02-04 13:03:37 +04:00
Artem Sapegin b52d1cf154 Ability to dynamically update URL. 2014-02-04 12:50:52 +04:00
Artem Sapegin e4a08ce9a3 New single button popups. 2014-02-04 10:38:31 +04:00
Artem Sapegin 534d04ad8a Detect HTTPS. 2014-02-03 15:11:17 +04:00
Artem Sapegin e923fde406 Use HTTPS for Facebook. 2014-02-03 15:07:40 +04:00
Artem Sapegin 7d80f6a652 Merge branch 'master' into flat
Conflicts:
	Readme.md
2014-02-03 11:58:08 +04:00
Dmitry Popov 68a1af675f vkontakte.ru -> vk.com 2014-01-20 17:50:21 +04:00
Artem Sapegin 5e06a01cac Fix ready event. 2014-01-16 15:06:36 +04:00
Artem Sapegin cbd3def372 _open → _opened. 2014-01-16 11:21:49 +04:00
Artem Sapegin 5671ca72b9 Fix buttons with links. 2014-01-16 11:20:18 +04:00
Artem Sapegin 8d117c5406 Show button only after counters are loaded or after timeout. 2014-01-16 11:06:31 +04:00
Artem Sapegin d09459f632 Refactor options. 2014-01-15 12:27:09 +04:00
Artem Sapegin 40239572a9 Show all counters at once, ready event. 2014-01-14 12:18:59 +04:00
Artem Sapegin c7118f1947 Make widgets clickable instead of button. 2014-01-14 10:48:32 +04:00
Artem Sapegin f94ed8c309 Remove search. 2014-01-14 10:35:18 +04:00
Artem Sapegin 93c28d6ffb Update copyright year. 2014-01-14 10:31:31 +04:00
Artem Sapegin b6bf82ee54 Use Google+ counter by Yandex.
There is one limitation: it will show counter only for the first button
set (=== share URL) on a page.
2014-01-14 10:18:07 +04:00
Artem Sapegin 33bae0ac72 Single button now wrapped in widget. 2013-12-31 11:46:56 +04:00
Artem Sapegin 94293c802b Tweak search links. 2013-12-24 00:34:20 +04:00