-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from rthaut/development
v4.1.0
- Loading branch information
Showing
19 changed files
with
778 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"greasemonkey": true, | ||
"jquery": true | ||
}, | ||
"globals": { | ||
"dialogPolyfill": true, | ||
"getStoredValue": true, | ||
"getStoredJSON": true, | ||
"setStoredValue": true, | ||
"setStoredJSON": true, | ||
"addStyleSheet": true, | ||
"resetStyleSheet": true, | ||
"daDialog": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"rules": { | ||
"curly": ["error", "multi-line"], | ||
"no-console": "off", | ||
"no-unused-vars": ["error", { | ||
"vars": "local", | ||
"args": "none" | ||
}], | ||
"no-useless-escape": "off", | ||
"prefer-const": ["error"], | ||
"quote-props": ["error", "always"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,61 @@ | ||
![deviantART Filter Promotional Image](https://raw.githubusercontent.com/rthaut/deviantART-Filter/master/resources/screenshots/Promo.png) | ||
|
||
## Overview | ||
Have you ever been bothered by seeing deviations (submissions) from certain users while browsing [deviantART](https://www.deviantart.com)? Now you can quickly and permanently hide all deviations from any user! Install deviantART Filter in your web browser of choice, then either a.) enter their username on the settings panel, or b.) simply click the new red X that appears in the top right corner of any thumbnail image to filter that user. | ||
|
||
![deviantART Filter Promotional Image](https://raw.githubusercontent.com/rthaut/deviantART-Filter/master/resources/screenshots/Promo.png) | ||
|
||
* * * | ||
|
||
## Installation | ||
### Mozilla Firefox | ||
1. Install from the official Mozilla Add-ons for Firefox: [https://addons.mozilla.org/en-US/firefox/addon/deviantart-filter/](https://addons.mozilla.org/en-US/firefox/addon/deviantart-filter/) | ||
1. There is no step 2 | ||
**[Install from the official Mozilla Add-ons for Firefox site](https://addons.mozilla.org/en-US/firefox/addon/deviantart-filter/)** | ||
|
||
|
||
### Google Chrome | ||
1. Install from the official Chrome Web Store: [https://chrome.google.com/webstore/detail/deviantart-filter/odlmamilbohnpnoomjclomghphbajikp](https://chrome.google.com/webstore/detail/deviantart-filter/odlmamilbohnpnoomjclomghphbajikp) | ||
1. There is no step 2 | ||
**[Install from the official Google Chrome Web Store](https://chrome.google.com/webstore/detail/deviantart-filter/odlmamilbohnpnoomjclomghphbajikp)** | ||
|
||
* * * | ||
|
||
### Legacy Userscript (Deprecated) | ||
**NOTE:** The userscript version of deviantART Filter is being deprecated in favor of the web extension versions. It is *strongly* recommended that you transition from the userscript version to a web exension (see the [transition instructions](#transitioning-from-legacy-userscript) below). | ||
#### For Mozilla Firefox | ||
1. Install the [Greasemonkey](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey) Add-on | ||
1. Restart your browser after installation | ||
1. Visit the [script installation URL](https://github.com/rthaut/deviantART-Filter/raw/master/dist/userscript/deviantart_filter.user.js) and follow the prompts from Greasemonkey to complete the installation | ||
- See [this wiki article](https://wiki.greasespot.net/Greasemonkey_Manual:Installing_Scripts) for help with installing userscripts in Greasemonkey | ||
#### For Google Chrome | ||
1. Install [Tampermonkey Beta](https://chrome.google.com/webstore/detail/tampermonkey-beta/gcalenpjmijncebpfijmoaglllgpjagf) Extension | ||
1. Restart your browser after installation | ||
1. Visit the [script installation URL](https://github.com/rthaut/deviantART-Filter/raw/master/dist/userscript/deviantart_filter.user.js) and follow the prompts from Tampermonkey to complete the installation | ||
- See [this FAQ entry](http://tampermonkey.net/faq.php#Q102) for help with installing userscripts in Tampermonkey | ||
## Usage | ||
|
||
### Hiding Users While Browsing | ||
1. When you see a deviation from someone you want to hide, hover over the thumbnail image | ||
2. In the top-left corner, an `x` icon will appear | ||
3. Click on the `x` to hide all deviations from that user | ||
4. You can click that `x` again to un-hide that user later | ||
|
||
### Hiding Known/Specific Users | ||
If you know the username of a user you want to filter, you can manually enter their username without actually finding one of their deviations. | ||
1. Click the `Manage Filters` link that appears in the top right corner of [deviantART](https://www.deviantart.com) | ||
- It is beside your username, by the Message Center icon, when you are logged in | ||
- It is beside the Join and Login links when you are not logged in | ||
2. Enter their username in the field at the top of the `Filtered Users` tab | ||
- **IMPORTANT**: usernames should be entered in all lowercase letters, even if their username is not displayed that way | ||
3. Click the `Hide User` button next to the field | ||
|
||
### Placeholders vs Completely Hiding Deviations | ||
deviantART Filter normally displays a blank "placeholder" image for each filtered user. This is intended to allow you to see that the filters are actually working, as well as to provide a quick way to un-hide users. However, these placeholder images can be disabled, resulting in all filtered users being completed hidden when browsing [deviantART](https://www.deviantart.com). | ||
1. Click the `Manage Filters` link that appears in the top right corner of [deviantART](https://www.deviantart.com) | ||
- It is beside your username, by the Message Center icon, when you are logged in | ||
- It is beside the Join and Login links when you are not logged in | ||
2. View the `Settings` tab | ||
3. Uncheck the `Use placeholders for hidden deviations` option at the top of the Settings tab | ||
|
||
### Exporting/Importing Filters | ||
deviantART Filter allows your to export and import filters. This is mostly for keeping your filters in sync between browsers/computers, but is handy for backup purposes as well. | ||
1. Click the `Manage Filters` link that appears in the top right corner of [deviantART](https://www.deviantart.com) | ||
- When you are logged in, it is located next to your username | ||
- When you are not logged in, it is located next to the Join and Login links | ||
2. View the `Settings` tab | ||
3. Scroll down to the `Export/Import Filters` section | ||
3. To export existing filters: | ||
1. Click the `Export Filters` button to generate a text block in the large text box below the buttons | ||
2. Copy the entire block of text to your clipboard, then save it (i.e. in a plain text file) or import it elsewhere | ||
4. To import new filters: | ||
1. Paste a previously exported text block into the large text box below the buttons | ||
2. Click the `Import Filters` button | ||
- The import results will be displayed, showing how many filters were imported | ||
|
||
* * * | ||
|
||
### Transitioning from Legacy Userscript | ||
1. Open [deviantART](https://www.deviantart.com/), then click the "Manage Filter" link in the top right corner of the page (next to your username) | ||
1. Click the Settings tab, then click the Export Filters button | ||
1. Copy the **entire** block of text that appears below the button and paste it into a text editor for later use | ||
- You can click anywhere in the textbox, then press `CTRL`+`A` (or `CMD`+`A`) on your keyboard to select all of the text | ||
- You may want to save the file in your text editor, just in case, but this is not necessary | ||
1. Disable (or uninstall) the deviantART Filter userscript from Greasemonkey/Tampermonkey | ||
1. Install the deviantART filter web extension for Chrome/Firefox (see the [installation links](#installation) above) | ||
1. Visit [deviantART](https://www.deviantart.com/) again and open the Settings tab again | ||
1. Paste the block of text from step 4 into the textbox below the Export Filters button | ||
1. Click the Import Filters button | ||
1. A dialog will appear confirming the import results | ||
### Legacy Userscript (Deprecated) | ||
**Please visit [the wiki](https://github.com/rthaut/deviantART-Filter/wiki#about-the-old-userscript-) for information about the userscript version of deviantART Filter. There you will find [steps for migrating](https://github.com/rthaut/deviantART-Filter/wiki/Userscript#transitioning-from-legacy-userscript) to the new web extensions.** |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.