devlephant / devleph

RAD IDE for creating Windows apps with PHP 5.6 and VCL.
Creative Commons Zero v1.0 Universal
8 stars 2 forks source link

Chromium Proxy & UserAgent #150

Closed zeko2010ss closed 5 years ago

zeko2010ss commented 5 years ago

Hello how can I set Proxy and change user-agent for chromium?

ghost commented 5 years ago

@zeko2010ss Hello, at this point, the only option which you have is to use chromium_settings function: [code]

chromium_settings( $cachePath, $userAgent, $version, $locale, $logFile, $extraPluginPath, $localeStorageQuote, $sessionStorageQuota, $jsFlags, $autoDetectProxy ); [/code]

However, my general advice is not to use this project at all. It have too many bugs (had before me) and my fork is just unsuccessful attempt of reverse ingeneering. The original project is a shit, which based on stolen code, so, better use Delphi + P4D(PHP4Delphi) + Rtti (i will write extension especially). Thanks