diff --git a/cefHtmlSnapshot.dproj b/cefHtmlSnapshot.dproj index 5488190..e34aa43 100644 --- a/cefHtmlSnapshot.dproj +++ b/cefHtmlSnapshot.dproj @@ -94,9 +94,9 @@ cefHtmlSnapshot_Icon.ico true 0 - 6 - CompanyName=delphitools.info;FileDescription=$(MSBuildProjectName);FileVersion=0.6.96.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= - 96 + 7 + CompanyName=delphitools.info;FileDescription=$(MSBuildProjectName);FileVersion=0.7.100.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + 100 false diff --git a/cefHtmlSnapshot.res b/cefHtmlSnapshot.res index 40f38be..4c0524c 100644 Binary files a/cefHtmlSnapshot.res and b/cefHtmlSnapshot.res differ diff --git a/uCEFSnapshotParameters.pas b/uCEFSnapshotParameters.pas index 57b700a..8a0bec6 100644 --- a/uCEFSnapshotParameters.pas +++ b/uCEFSnapshotParameters.pas @@ -7,7 +7,7 @@ interface uCEFTypes, uCEFMiscFunctions; const - cChromiumSubFolder = 'Chromium96.0'; + cChromiumSubFolder = 'Chromium100.0'; cDLLSubfolder = 'Libraries'; type @@ -49,8 +49,8 @@ implementation uses LibTurboJPEG, Vcl.Imaging.pngimage, System.StrUtils; const - cHelp = 'cefHtmlSnaphot utility v0.6.96 - Html to image or pdf coversion using Chromium Embedded Framework'#10 - + 'Using CEF 96.0.14, CEF4Delphi, TurboJPEG see https://github.com/EricGrange/cefHtmlSnapshot'#10#10 + cHelp = 'cefHtmlSnaphot utility v0.7.100 - Html to image or pdf coversion using Chromium Embedded Framework'#10 + + 'Using CEF 100.0.23, CEF4Delphi, TurboJPEG see https://github.com/EricGrange/cefHtmlSnapshot'#10#10 + 'cefHtmlSnapshot.exe url_or_file [-arg1 value1] [-arg2 value2] ... output_file'#10 + #10 + ' -?, -h, --help This inline documentation'#10 diff --git a/uEncapsulatedBrowser.pas b/uEncapsulatedBrowser.pas index a16ed9a..611c7ac 100644 --- a/uEncapsulatedBrowser.pas +++ b/uEncapsulatedBrowser.pas @@ -144,6 +144,7 @@ function CreateGlobalCEFApp(const parameters : TSnapshotParameters; const chromi GlobalCEFApp.IgnoreCertificateErrors := parameters.IgnoreCertificateErrors; GlobalCEFApp.NoSandbox := parameters.NoSandbox; + GlobalCEFApp.DisableBackForwardCache := True; GlobalCEFApp.DeleteCache := True; GlobalCEFApp.DeleteCookies := True; GlobalCEFApp.PersistSessionCookies := False;