On this page
Task guides
Run bb-browser site adapters
Reuse community or private bb-browser site scripts in a Mearl-connected browser, including the page’s existing sign-in state.
Install the adapter plugin
Register the mearl-bbrowser Skill plugin. It runs site adapters through Mearl’s Chrome extension or direct CDP connection.
npx @mearl/setup plugin install mearlhq/mearl --github --skill mearl-bbrowserFind an adapter and check its inputs
Search the local catalog for Bilibili adapters, then use site info to check the arguments for bilibili/popular. The first argument, count, sets how many videos to fetch. The second, page, defaults to 1. The last command requests 10 popular videos from the first page. If the adapter is missing, run mearl bbrowser site update to download the community catalog.
mearl bbrowser site search bilibili
mearl bbrowser site info bilibili/popular
mearl bbrowser site bilibili/popular 10Run in the intended browser context
Select the browser that owns the sign-in state. An adapter with a declared domain can reuse a matching tab or open one. The script runs in the page’s main world and can use its companion _helper.js. Site permissions, login prompts, and page changes still determine the outcome.
Open source credits
The Mearl plugin supports the site adapter format from bb-browser (MIT). The community catalog comes from the upstream bb-sites project.