Skip to content
Snippets Groups Projects
Commit 67f3c306 authored by didierfred's avatar didierfred
Browse files

Replace all space in url values instead of only one space

parent c38c23bc
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ function notify(message) {
* Make it "blocking" so we can modify the headers.
*/
function addListener() {
let target = config.target_page.replace(' ','');
let target = config.target_page.replaceAll(' ','');
if ((target === "*") || (target === "")) target = "<all_urls>";
// need to had "extraHeaders" option for chrome https://developer.chrome.com/extensions/webRequest#life_cycle_footnote
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment