Skip to content

Instantly share code, notes, and snippets.

@SDKiller
Created August 21, 2015 11:27
Show Gist options
  • Save SDKiller/3c96b892e67a4140b4ca to your computer and use it in GitHub Desktop.
Save SDKiller/3c96b892e67a4140b4ca to your computer and use it in GitHub Desktop.
<div id="ok_group_widget"></div>
<script> !function (d, id, did, st) {
var js = d.createElement("script");
js.src = "http://connect.ok.ru/connect.js";
js.onload = js.onreadystatechange = function () {
if (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") {
if (!this.executed) {
this.executed = true;
setTimeout(function () {
OK.CONNECT.insertGroupWidget(id, did, st);
}, 0);
}
}
};
d.documentElement.appendChild(js);
}(document, "ok_group_widget", "51923584024773", "{width:270,height:400}");</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment