Skip to content

Commit

Permalink
Also treat new tab page with ATB params as 'special' (duckduckgo#2119)
Browse files Browse the repository at this point in the history
  • Loading branch information
sammacbeth authored Jul 21, 2023
1 parent 5ad0223 commit 9185137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/js/background/classes/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default class Site {

// Our new tab page URL that is hard-coded in the Chromium source.
// See https://source.chromium.org/chromium/chromium/src/+/main:components/search_engines/prepopulated_engines.json
if (url === 'https://duckduckgo.com/chrome_newtab') {
if (url.startsWith('https://duckduckgo.com/chrome_newtab')) {
return 'new tab'
}

Expand Down

0 comments on commit 9185137

Please sign in to comment.