From daec249e3f90656e59b45d5e95b0350414d88132 Mon Sep 17 00:00:00 2001 From: Ilya Grigorik Date: Sun, 27 Aug 2017 11:14:55 -0700 Subject: [PATCH] revert z-index override for facebook.com Current logic conflicts with imgaus extension - see #241. Also, looks like FB may have changed their stacking? Can't reproduce old problem (#210), testing: - https://www.facebook.com/facebook/videos/10106941168235097/ - https://www.facebook.com/pg/facebook/videos/ - Videos in newsfeed Closes #241 --- inject.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/inject.js b/inject.js index 93e1e6b..dee90c0 100644 --- a/inject.js +++ b/inject.js @@ -156,11 +156,6 @@ chrome.extension.sendMessage({}, function(response) { this.parent.parentElement.insertBefore(fragment, this.parent); break; - case (location.hostname == 'www.facebook.com'): - // set stacking context to same as parent's parent. - // + default fallthrough - this.parent.style.zIndex = 'auto'; - default: // Note: when triggered via a MutationRecord, it's possible that the // target is not the immediate parent. This appends the controller as