search

The search property of a WorkerLocation object returns the URL.search part of the worker's location.

MDN Reference