diff --git a/background.js b/background.js index 69f4b78..e4a3d20 100644 --- a/background.js +++ b/background.js @@ -224,7 +224,7 @@ async function getData() { "destination": site.destination, "destination_base_url": site.destination_base_url, "destination_search_path": site.destination_search_path, - "destination_content_prefix": (site.destination_content_prefix ? site.destination_content_prefix : ""), + "destination_content_prefix": origin.destination_content_prefix || site.destination_content_prefix || "", "destination_platform": site.destination_platform, "destination_icon": site.destination_icon, "destination_main_page": site.destination_main_page, diff --git a/content-banners.js b/content-banners.js index dd48432..6dd34cb 100644 --- a/content-banners.js +++ b/content-banners.js @@ -30,7 +30,7 @@ async function getData() { "destination": site.destination, "destination_base_url": site.destination_base_url, "destination_search_path": site.destination_search_path, - "destination_content_prefix": (site.destination_content_prefix ? site.destination_content_prefix : ""), + "destination_content_prefix": origin.destination_content_prefix || site.destination_content_prefix || "", "destination_platform": site.destination_platform, "destination_icon": site.destination_icon, "destination_main_page": site.destination_main_page, diff --git a/content-search-filtering.js b/content-search-filtering.js index d823f90..244e48e 100644 --- a/content-search-filtering.js +++ b/content-search-filtering.js @@ -45,7 +45,7 @@ async function getData() { "destination": site.destination, "destination_base_url": site.destination_base_url, "destination_search_path": site.destination_search_path, - "destination_content_prefix": (site.destination_content_prefix ? site.destination_content_prefix : ""), + "destination_content_prefix": origin.destination_content_prefix || site.destination_content_prefix || "", "destination_platform": site.destination_platform, "destination_icon": site.destination_icon, "destination_main_page": site.destination_main_page,