fix(fillbar): la barrette remplit meme quand les raccourcis sont coupes
"Autofill with global hotkey" desactive faisait ignorer a la page toute demande, barrette comprise. Delphi dit maintenant d'ou vient la demande ; seuls les raccourcis sont coupes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2267,7 +2267,8 @@ begin
|
||||
FAutofillClock := TStopwatch.StartNew;
|
||||
WebBrowser.ExecuteJavaScript(
|
||||
'if(window.Bridge&&typeof Bridge.onAutofillRequest==="function")' +
|
||||
'Bridge.onAutofillRequest("' + LTitle + '","' + LKind + '")');
|
||||
'Bridge.onAutofillRequest("' + LTitle + '","' + LKind + '",' +
|
||||
BoolToStr(FBridge.LastRequestFromBar, True).ToLower + ')');
|
||||
LogLine('Autofill ' + IfThen(FBridge.LastRequestFromBar, 'fill bar', 'hotkey') +
|
||||
' (' + LKind + ') — foreground: "' + ATitle + '"');
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user