Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rebuilt extensions

  • Loading branch information...
commit 305cd40f664bd4852624ef1e365f624c163f5de8 1 parent 3dc93ef
@barnabywalters authored
View
13 output/chrome/content_script.js
@@ -169,6 +169,18 @@ var IndieWebReplyModule = (function () {
});
}
+ function bindGooglePlusOneButtons() {
+ $('[id^="___plusone_"]').each(function (i, e) {
+ var q = new URI($(e).find('iframe').attr('src')).search(true);
+
+ var properties = {
+ url: (q.url ? q.url : document.location.href)
+ };
+
+ var newButton = createReplacementButton('Post to your Indieweb Site', function () { openNoteUI('favourite', properties); });
+ });
+ }
+
// Public
return {
@@ -185,6 +197,7 @@ var IndieWebReplyModule = (function () {
bindAppDotNetReplies();
bindTwitterShareButtons();
bindFacebookLikeButtons();
+ bindGooglePlusOneButtons();
}
};
}());
View
13 output/firefox/chrome/content/content_script.js
@@ -169,6 +169,18 @@ var IndieWebReplyModule = (function () {
});
}
+ function bindGooglePlusOneButtons() {
+ $('[id^="___plusone_"]').each(function (i, e) {
+ var q = new URI($(e).find('iframe').attr('src')).search(true);
+
+ var properties = {
+ url: (q.url ? q.url : document.location.href)
+ };
+
+ var newButton = createReplacementButton('Post to your Indieweb Site', function () { openNoteUI('favourite', properties); });
+ });
+ }
+
// Public
return {
@@ -185,6 +197,7 @@ var IndieWebReplyModule = (function () {
bindAppDotNetReplies();
bindTwitterShareButtons();
bindFacebookLikeButtons();
+ bindGooglePlusOneButtons();
}
};
}());
View
BIN  output/indiewebreply_0.9.oex
Binary file not shown
View
BIN  output/indiewebreply_0.9.xpi
Binary file not shown
View
13 output/opera/content_script.js
@@ -169,6 +169,18 @@ var IndieWebReplyModule = (function () {
});
}
+ function bindGooglePlusOneButtons() {
+ $('[id^="___plusone_"]').each(function (i, e) {
+ var q = new URI($(e).find('iframe').attr('src')).search(true);
+
+ var properties = {
+ url: (q.url ? q.url : document.location.href)
+ };
+
+ var newButton = createReplacementButton('Post to your Indieweb Site', function () { openNoteUI('favourite', properties); });
+ });
+ }
+
// Public
return {
@@ -185,6 +197,7 @@ var IndieWebReplyModule = (function () {
bindAppDotNetReplies();
bindTwitterShareButtons();
bindFacebookLikeButtons();
+ bindGooglePlusOneButtons();
}
};
}());
View
13 output/safari/indiewebreply_0.9.safariextension/content_script.js
@@ -169,6 +169,18 @@ var IndieWebReplyModule = (function () {
});
}
+ function bindGooglePlusOneButtons() {
+ $('[id^="___plusone_"]').each(function (i, e) {
+ var q = new URI($(e).find('iframe').attr('src')).search(true);
+
+ var properties = {
+ url: (q.url ? q.url : document.location.href)
+ };
+
+ var newButton = createReplacementButton('Post to your Indieweb Site', function () { openNoteUI('favourite', properties); });
+ });
+ }
+
// Public
return {
@@ -185,6 +197,7 @@ var IndieWebReplyModule = (function () {
bindAppDotNetReplies();
bindTwitterShareButtons();
bindFacebookLikeButtons();
+ bindGooglePlusOneButtons();
}
};
}());
Please sign in to comment.
Something went wrong with that request. Please try again.