Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 3 commits
  • 3 files changed
  • 0 comments
  • 1 contributor
May 26, 2012
Tom Moor Upped submodule and version to 2.1.5 1d44596
May 27, 2012
Tom Moor Fixed: buffer scraper request is only sent to current tab
Upped version number to 2.2 as all extensions with scraper need to start on the same number
cedbcfb
May 28, 2012
Tom Moor Update to lastest shared submodule e156b85
12  chrome/data/main.js
@@ -11,7 +11,7 @@ Authors: Joel Gascoigne         Tom Ashworth
11 11
 var config = {};
12 12
 config.plugin = {
13 13
     label: "Buffer This Page",
14  
-    version: "2.1.4",
  14
+    version: "2.2",
15 15
     guide: 'http://bufferapp.com/guides/chrome/installed',
16 16
     menu: {
17 17
         page: {
@@ -113,19 +113,17 @@ chrome.extension.onConnect.addListener(function(chport) {
113 113
 
114 114
     // Listen for a request for scraper data
115 115
     port.on("buffer_details_request", function () {
116  
-        console.log("Details request.");
117 116
         overlayPort = port;
118 117
         var i = 0, l = ports.length;
119 118
         for( ; i < l; i++ ) {
120  
-            var p = ports[i];
121  
-            console.log(i, p);
122  
-            p.emit("buffer_details_request");
  119
+			var p = ports[i];
  120
+
  121
+			// send a request to scrape the page, only if the port tab matches the current tab
  122
+			if (tab.url === p.raw.tab.url) p.emit("buffer_details_request");
123 123
         }
124  
-        
125 124
     });
126 125
 
127 126
     port.on("buffer_details", function (data) {
128  
-        console.log(data);
129 127
         if( overlayPort ) overlayPort.emit("buffer_details", data);
130 128
     });
131 129
 
2  chrome/data/shared
... ...
@@ -1 +1 @@
1  
-Subproject commit e3c0f07b15ba04e6ca016f0da411ad76545722b3
  1
+Subproject commit 4d33adad0d77389f6db850538ac1c2d3c88a7945
2  chrome/manifest.json
... ...
@@ -1,6 +1,6 @@
1 1
 {
2 2
 	"name": "Buffer",
3  
-	"version": "2.1.4",
  3
+	"version": "2.2",
4 4
 	"description": "Easily add great articles, pictures and videos to your Buffer and we automagically share them for you through the day!",
5 5
 	"browser_action": {
6 6
 		"default_icon": "logo_icon_small.png"

No commit comments for this range

Something went wrong with that request. Please try again.