diff --git a/README.md b/README.md index e8be8f7..6942291 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [Build Status](https://travis-ci.com/rthaut/deviantART-Filter) [Greenkeeper badge](https://greenkeeper.io/) -# DeviantArt Filter 5.1.0 +# DeviantArt Filter 5.1.1 > Allows configurable filtering/removal of deviations by user, tag, and/or category on DeviantArt @@ -178,4 +178,3 @@ This setting, as the description states, is primarily for troubleshooting and de ### Browse Page with Placeholders Disabled ![Screenshot of DeviantArt with placeholders disabled for filtered deviations](/screenshots/No-Placeholders.png?raw=true) - diff --git a/docs/chrome/README.md b/docs/chrome/README.md index e5dd2ff..256b040 100644 --- a/docs/chrome/README.md +++ b/docs/chrome/README.md @@ -71,7 +71,6 @@ DeviantArt Filter allows you to export and import filters from a JSON file. This 2. An `x` icon will appear in the top-left corner of the thumbnail. 3. Click on the `x` to filter that user. - [chrome-url]: https://chrome.google.com/webstore/detail/deviantart-filter/odlmamilbohnpnoomjclomghphbajikp [chrome-image-download]: https://img.shields.io/chrome-web-store/d/odlmamilbohnpnoomjclomghphbajikp.svg [chrome-image-version]: https://img.shields.io/chrome-web-store/v/odlmamilbohnpnoomjclomghphbajikp.svg diff --git a/docs/firefox/README.md b/docs/firefox/README.md index 84c0f5f..3750818 100644 --- a/docs/firefox/README.md +++ b/docs/firefox/README.md @@ -71,7 +71,6 @@ DeviantArt Filter allows you to export and import filters from a JSON file. This 2. An `x` icon will appear in the top-left corner of the thumbnail. 3. Click on the `x` to filter that user. - [firefox-url]: https://addons.mozilla.org/en-US/firefox/addon/deviantart-filter/ [firefox-image-download]: https://img.shields.io/amo/d/deviantart-filter.svg [firefox-image-version]: https://img.shields.io/amo/v/deviantart-filter.svg diff --git a/package.json b/package.json index 905ba97..6a750ca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "deviantart-filter", "title": "DeviantArt Filter", - "version": "5.1.0", + "version": "5.1.1", "description": "Allows configurable filtering/removal of deviations by user, tag, and/or category on DeviantArt", "author": "Ryan Thaut (http://ryanthaut.com)", "homepage": "https://github.com/rthaut/deviantART-Filter", diff --git a/src/helpers/constants.js b/src/helpers/constants.js index 064dbae..aef52ca 100644 --- a/src/helpers/constants.js +++ b/src/helpers/constants.js @@ -40,4 +40,8 @@ export const PLACEHOLDER_LOGO_CSS = [ 'mask-position: center center;', 'mask-repeat: no-repeat;', 'mask-size: 80% 50%;', + `-webkit-mask-image: url(${browser.runtime.getURL('images/placeholder.svg')});`, + '-webkit-mask-position: center center;', + '-webkit-mask-repeat: no-repeat;', + '-webkit-mask-size: 80% 50%;', ].join('\n'); diff --git a/src/scripts/background/browser-storage.js b/src/scripts/background/browser-storage.js index 9fbeb1e..73de8d1 100644 --- a/src/scripts/background/browser-storage.js +++ b/src/scripts/background/browser-storage.js @@ -41,7 +41,12 @@ const BrowserStorage = (() => { }); case 'placeholders': - return BrowserTabs.sendMessageToAllTabs({ 'action': 'toggle-placeholders' }); + return BrowserTabs.sendMessageToAllTabs({ + 'action': 'toggle-placeholders', + 'data': { + 'placeholders': changes[item].newValue + } + }); case 'placeholderBGColor': case 'placeholderLogoColor':