This snippet searches several databases (including BrickLink, Rebrickable, LEGO (instructions) and Brickset) for information on LEGO® sets and opens the web pages in your default browser.
// #popclip
// name: LEGO® sets
// lang: js
// requirements: [text, "!urls"]
// popclip version: 4151
// icon: iconify:mdi:toy-brick-search-outline
// description: Search BrickLink, Rebrickable, LEGO (instructions) and Brickset for LEGO sets
const query = encodeURIComponent(popclip.input.text);
popclip.openUrl("https://www.bricklink.com/v2/search.page?q=" + query + "#T=S");
popclip.openUrl("https://rebrickable.com/sets/?get_drill_downs=&q=" + query);
popclip.openUrl("https://www.lego.com/en-us/service/buildinginstructions/search?q=" + query);
popclip.openUrl("https://brickset.com/search?query=" + query);
(The above block is an extension snippet – select it to install the extension with PopClip)
Try it out:
21110-1
6399-1
You can remove a line starting with popclip.openUrl
if you want to remove the corresponding domain from your results.
Disclaimer: I created this extension for parenting purposes only.