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:
r-zakarya
2026-10-05 17:45:34 +01:00
parent 553d9db621
commit e8e93cba56
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -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;