-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathShare It.js
More file actions
26 lines (26 loc) · 839 Bytes
/
Share It.js
File metadata and controls
26 lines (26 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
javascript: void((function(svc) {
var d = document,
w = window,
p = 0,
b = function() {
if (!p) {
p = 1;
if (_atc.xol) _adr.onReady();
if (w.addthis_sendto) addthis_sendto(svc || 'bkmore', {
product: 'bmt-' + _atc.ver
})
} else {
p = 0;
if (_atw) _atw.clb()
}
};
if (!w._atc) {
var ol = w.addthis_onload || [],
o = d.createElement('script');
w.addthis_product = 'bmt-250';
o.src = '//s7.addthis.com/js/250/addthis_widget.js#domready=1&username=bookmarklet';
ol.push(b);
w.addthis_onload = ol;
d.getElementsByTagName('body')[0].appendChild(o)
} else b()
})())