Fixes Cook's Illustrated search to remove advertisements for other network sites
Cook's Illustrated Exclusive Search Extension
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.
Read more
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.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Cook's Illustrated Exclusive Search", "version": "0.1.0", "description": "Fixes Cook's Illustrated search to remove advertisements for other network sites", "content_scripts": [{ "js": ["content.js"], "matches": ["https://www.cooksillustrated.com/*"] }]}
Read more