11 Apr
2024
11 Apr
'24
5:36 p.m.
We may leave the value "about:blank" by default (and forbid ""), but then, when opening a new tab, if the new_tab_url matches "about:blank", we set it to NULL to leave the location empty, which follows the current behavior. Maybe, something like this?
+ if (!url && strcmp(URL_STR(prefs.new_tab_page), "about:blank") != 0) + url = prefs.new_tab_page;
That does seem like the most elegant solution for now. Thanks! Alex