Sciter's config.h flags

#define meaning affects size platform
HAS_MOUSE should be defined for desktop versions and for mobiles that have stylus, etc no all
PNG_SUPPORT will link libpng and add png and animated-png support  yes all
GIF_SUPPORT enables gif images support yes all
SVG_SUPPORT enables svg support yes all
WIC_SUPPORTenables IWICImagingFactory and links with windowscodecs.lib - this allows to load extended set of image formats supported by Windows: .tiff, .jpg, etc.  noWindows
JPG_SUPPORTenables .jpg image loading.yesall
WEBP_SUPPORTenables .webp image (Google) loading.yesall
ZIP_SUPPORTmarkup can be loaded from .zip files. Note: this is not about zlib inclusion as zlib is required for libpng and http clientnoall
HTTP_SUPPORT enables http(s) client so the engine can download stuff remotely yesall
USE_OVERSCROLL (true | false)allows iOS style indication of overscroll when overflow:scroll-indicator is used in CSS. I am not sure but Apple may complain on #define USE_OVERSCROLL true - they may have this under some patent. noall
USE_THREAD_LOCALenables C++ thread_local use, shall be #undef'ed for Windows XP builds, its runtime does not support it. noWindows
ACCESSIBLEenables IAccessible supportyesWindows
USE_UIAUTOMATIONenables UIAutomation and modern accessibility on WindowsyesWindows
USE_D2Denables Direct2D graphics backendyesWindows
USE_D2D_PLUSenables Direct2D v1.2 and above features: CSS filters, color fonts, etc. yesWindows
USE_DIRECT_COMPenables DirectComposition - "acrylic" support on WindowsyesWindows
USE_VIDEOenables <video> element supportnoall
USE_DS_VIDEOenables <video> playback on Windows using DirectShow interfacesyesWindows
USE_ANIMATED_SCROLLenables animated, a.k.a. "kinetic" scroll.  "kinetic" scroll causes 60 FPS redraw on scrolling so you may want to disable this on weak machines.noall
SCROLL_INDICATOR_ONLYif enabled then overflow:scroll | auto are treated as overflow:scroll-indicator - so no "classic" scrollbars at all.noall
SPELL_CHECK_SUPPORTenables Windows and MacOS spellchecker in <textarea>, <plaintext>, <htmlarea>noWindows, MacOS
SCREENSHOT_SUPPORTallows view.screenBox(n,#snapshot) by script,  potentially unsafe for security reasonsnoall
WEBSOCKETS_SUPPORTenables websockets - WebSocket objects in scriptyesall
TLS_SUPPORTenables secure websockets (wss: addresses)yesall
NETWORK_SUPPORTenables network communication from script - pipe, tcp, websockets. Note this required for connectivity with inspector.exe yesall
PROCESS_SUPPORTenables System.Process in script. Allows to run arbitrary executables from script, optionalnoall

HTTP_USER_AGENT "foo.bar"

redefine HTTP's user agent string noall
HTTP_CONNECTION_TIMEOUT 10000redefine HTTP's connection timeout , millisecondsnoall