You will need to install a user script manager extension to install this script.
This script display complete card sets from inventory. Work in trade offer page so tradable cards only is target.
You need to log in to Steam Card Exchange so that get information of card set, And you visit Badge Pricelist page once. Also if list wasn't correctly displayed, you remove badge cache and visit the page again.
If checkbox of "Extra/Necessary only" was checked, display extra sets you completed badge and sets you have not complete from partner's inventory. This script output code of 4 types: Html, Text, Markdown (for steamtrades), SteamCode