I often have to edit the query part of the url. Currently I have to do something like this to get the current query:
query = scope.get("browser.url").partition("?")[2].partition("#")[0]
query and fragment would also be useful in context matching to limit commands to specific parts of websites.
I often have to edit the query part of the url. Currently I have to do something like this to get the current query:
queryandfragmentwould also be useful in context matching to limit commands to specific parts of websites.