LinkedIn job filters are just too limited. There are spammy companies that spray their random-ass job listings every single day, which mkaes it difficult to find stuff. There is also no option to create custom filters (at least in Free plan AFAIK) to show/hide listings.
## Setup
1. Install this userscript
2. Go to Tampermonkey Dashboard > Settings > Set _Config Mode_ to _Advanced_ (THIS IS MANDATORY!)
3. Go to LinkedIn Jobs page, verify that extension is loaded and working. It should yell at you.
Post following setup instructions, visit Tampermonkey Dashboard > Click on script name > Click _Storage_ tab.
You should see JSON like the following:
```json
{
"disliked": [],
"liked": [],
"mode": "hide-disliked",
"debug": false
}
```
Add companies you like into `liked` as strings, companies you don't want to be shown in listing page into `disliked`. The names are not case-sensitive, and can include partial names. Note that there is no exact match. i.e, if you added `"Evil"` into `disliked` and there are two companies in job search page — "Evil Corp" and "Not Evil Corp", it'll hide both.
This works by basically creating a `MutationObserver` and listening on every change. If there's any change w.r.t one of the job list items, it triggers the logic that runs against ALL the job list items to see if we should show/hide.
Obviously, this isn't very performant and could be optimized but it works.
This also isn't accounting for SPA navigations now, which is another enhancement.