Cook's Illustrated Exclusive Search

#0 / 0 rate

Cook's Illustrated Exclusive Search

21 users

2018-12-04

amh

Extension Information

5 star
0%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Description

Fixes Cook's Illustrated search to remove advertisements for other network sites

By default, Cook's Illustrated (https://www.cooksillustrated.com) includes search results from all its network sites, even if you do not have a membership to those other sites. These search results are advertisements because the content is locked behind a paywall.

After performing a search it is possible to deselect the other sites manually, then the search results will not include any advertisements for network sites. However, browsing to a recipe and performing a *new* search will reset the selected sites requiring them to be deselected manually, *every single time a search is performed*.

As an example, the search query `bacon` has 40 results on the first page. Of these 40, only 15 results are for Cook's Illustrated Online. That means that **37% of results are valid** and **63% of results are advertisements**.

By default, when the form is submitted with a search term `bacon` the search results page will include results from:

* `cio`, aka "Cook's Illustrated Online"
* `cco`, aka "Cook's Country Online"
* `atk`, aka "America's Test Kitchen"
* `cookbook_collection`, aka "Cookbook Collection"
* `school`, aka "Cooking School"

If you have not paid for subscriptions to all of these sites then the search results will be polluted with advertisements for these network sites.

This extension looks for the `atkGlobalSearch` form and modifies the `action` parameter to `/search?dFR[search_site_list][0]=cio&fR[search_cookbook_collection][0]=false`.

The search result page will then display results only from Cook's Illustrated Online.

The full MIT-licensed source code is available at https://github.com/anothermh/cies.