/**
 * SHARE-EVERITHING PLUGIN: MIT LICENSE
 */

window.share = (function(){
    var socials = {
        vk: 'https://vk.com/share.php?url=$URL$&title=$TITLE$&description=$TEXT$&image=$IMAGE$',
        facebook: 'https://www.facebook.com/dialog/feed?app_id=1514286898864851&link=$URL$&name=NAME&caption=$SUBTITLE$&description=$TEXT$&redirect_uri=https://www.facebook.com&display=popup',
        twitter: 'https://twitter.com/intent/tweet?url=$URL$&text=$TEXT$&hashtags=$TAG$',
        telegram: 'https://telegram.me/share/url?url=$URL$&text=$TEXT$',
        evernote: 'http://www.evernote.com/clip.action?url=$URL$&title=$TITLE$',
    };

    var getLink = function(social, url, title, text, image, tag){
        var link = socials[social];
        if (url)    link = link.replace('$URL$', url);
        if (title)  link = link.replace('$TITLE$', title);
        if (text)   link = link.replace('$TEXT$', text);
        if (image)  link = link.replace('$IMAGE$', image);
        if (tag)    link = link.replace('$TAG$', tag);
        console.log(link);
        return link;
    };

    var open = function(link){
        window.open(link,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=600')
    };

    var openLink = function(social, url, title, text, image, tag){
        var link = getLink(social, url, title, text, image, tag);
        open(link);
    }

    return {
        getLink: getLink,
        openLink: openLink,
        open: open
    };
})();

@@ -620,24 +620,138 @@
 e=$TITLE$',%0A
+        odnoklassniki: 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments=$TEXT$&st._surl=$URL$',%0A
     %7D;%0A%0A    
@@ -863,16 +863,29 @@
  if (url
+ != undefined
 )    lin
@@ -933,16 +933,29 @@
 f (title
+ != undefined
 )  link 
@@ -1004,16 +1004,29 @@
 if (text
+ != undefined
 )   link
@@ -1075,16 +1075,29 @@
 f (image
+ != undefined
 )  link 
@@ -1145,16 +1145,29 @@
  if (tag
+ != undefined
 )    lin
@@ -1656,8 +1656,838 @@
 ;%0A%7D)();%0A
+%0A%0A// Add listeners%0Adocument.addEventListener(%22DOMContentLoaded%22, function()%7B%0A    for( let el of document.querySelectorAll('%5Bshare%5D') )%7B%0A        el.addEventListener('click', function()%7B%0A            var social = this.getAttribute('share'),%0A            url = this.getAttribute('share-url') ?this.getAttribute('share-url') : '',%0A            title = this.getAttribute('share-title') ? this.getAttribute('share-title') : '',%0A            text = this.getAttribute('share-text') ? this.getAttribute('share-text') : '',%0A            image = this.getAttribute('share-image') ? this.getAttribute('share-image') : '',%0A            tag = this.getAttribute('share-tag') ? this.getAttribute('share-tag') : '';%0A%0A            if(social)%7B%0A                window.share.openLink(social, url, title, text, image, tag);%0A            %7D%0A        %7D);%0A    %7D%0A%7D);%0A

add attribute listeners and OK