summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevgeny <me@ch1p.com>2016-07-11 00:00:45 +0300
committerevgeny <me@ch1p.com>2016-07-11 00:00:45 +0300
commite3138fa7ab40dc2fda32f8768d29fa568acfd172 (patch)
tree94be4521933bd4189972b9d2e843bbf4ea03205e
parent00ccd4a5c6ee05a47b1d2ed9e0674e6017865fc6 (diff)
make compatible with firefox 47
-rw-r--r--bootstrap.js6
-rw-r--r--tablocation.xpibin6201 -> 34237 bytes
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap.js b/bootstrap.js
index 86a8a96..f4436f1 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -138,7 +138,7 @@ var Controller = {
// Get some elements
var tab = chromeWindow.gBrowser.tabContainer.childNodes[tabIndex];
- var label = ownerDocument.getAnonymousElementByAttribute(tab, 'anonid', 'tab-label');
+ var label = ownerDocument.getAnonymousElementByAttribute(tab, 'class', 'tab-text tab-label');
// DOM manipulations
var vbox = createElement(ownerDocument, 'xul:vbox', { orient: 'vertical', flex: 1, anonid: 'tab-label-vbox' });
@@ -156,7 +156,7 @@ var Controller = {
'class': 'tab-text tab-url-label',
'xbl:inherits': 'value=visibleLabel,crop,accesskey,fadein,pinned,selected',
'flex': '1',
- 'anonid': 'tab-url-label',
+ //'anonid': 'tab-url-label',
'role': 'presentation',
'fadein': 'true',
'selected': 'true',
@@ -187,7 +187,7 @@ var Controller = {
var ownerDocument = chromeWindow.gBrowser.ownerDocument;
var loc = getLocation(chromeWindow.gBrowser.browsers[tabIndex].contentDocument.location);
var tab = chromeWindow.gBrowser.tabContainer.childNodes[tabIndex];
- var url = ownerDocument.getAnonymousElementByAttribute(tab, 'anonid', 'tab-url-label');
+ var url = ownerDocument.getAnonymousElementByAttribute(tab, 'class', 'tab-text tab-url-label');
if (url) {
url.setAttribute('value', loc);
}
diff --git a/tablocation.xpi b/tablocation.xpi
index dfb24d9..08ce2d5 100644
--- a/tablocation.xpi
+++ b/tablocation.xpi
Binary files differ