I am currently using the following code to add a param to a current tab URL:
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.update(tab.id, {url: tab.url + '?example=false'});
});
Actual Result: Param can be added multiple times to a URL
Required Result: Param can only be added once, when already present an alert is displayed.