fix: blogmark bookmarklet uses bds2:// scheme to avoid legacy bds:// clash

This commit is contained in:
hugo committed 2026-05-29 22:46:26 +02:00
1 parent ae6659bcf3
commit ebf6136d2f
5 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ defmodule BDS.Scripting.Capabilities.AppShell do
end
def blogmark_bookmarklet do
"javascript:(()=>{const t=encodeURIComponent(document.title||'');const u=encodeURIComponent(location.href||'');location.href='bds://new-post?title='+t+'&url='+u;})();"
"javascript:(()=>{const t=encodeURIComponent(document.title||'');const u=encodeURIComponent(location.href||'');location.href='bds2://new-post?title='+t+'&url='+u;})();"
end
def title_bar_metrics(opts) do