12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- window.chrome = {
- "app": {
- "isInstalled": false,
- "InstallState": {
- "DISABLED": "disabled",
- "INSTALLED": "installed",
- "NOT_INSTALLED": "not_installed"
- },
- "RunningState": {
- "CANNOT_RUN": "cannot_run",
- "READY_TO_RUN": "ready_to_run",
- "RUNNING": "running"
- }
- },
- "runtime": {
- "OnInstalledReason": {
- "CHROME_UPDATE": "chrome_update",
- "INSTALL": "install",
- "SHARED_MODULE_UPDATE": "shared_module_update",
- "UPDATE": "update"
- },
- "OnRestartRequiredReason": {
- "APP_UPDATE": "app_update",
- "OS_UPDATE": "os_update",
- "PERIODIC": "periodic"
- },
- "PlatformArch": {
- "ARM": "arm",
- "ARM64": "arm64",
- "MIPS": "mips",
- "MIPS64": "mips64",
- "X86_32": "x86-32",
- "X86_64": "x86-64"
- },
- "PlatformNaclArch": {
- "ARM": "arm",
- "MIPS": "mips",
- "MIPS64": "mips64",
- "X86_32": "x86-32",
- "X86_64": "x86-64"
- },
- "PlatformOs": {
- "ANDROID": "android",
- "CROS": "cros",
- "LINUX": "linux",
- "MAC": "mac",
- "OPENBSD": "openbsd",
- "WIN": "win"
- },
- "RequestUpdateCheckStatus": {
- "NO_UPDATE": "no_update",
- "THROTTLED": "throttled",
- "UPDATE_AVAILABLE": "update_available"
- }
- }
- };
- Object.defineProperties(navigator, {
- webdriver: {
- get: () => undefined
- },
- plugins: {
- get: () => [{
- 0: {
- type: "application/x-google-chrome-pdf",
- suffixes: "pdf",
- description: "Portable Document Format",
- enabledPlugin: Plugin
- },
- description: "Portable Document Format",
- filename: "internal-pdf-viewer",
- length: 1,
- name: "Chrome PDF Plugin"
- }, {
- 0: {
- type: "application/pdf",
- suffixes: "pdf",
- description: "",
- enabledPlugin: Plugin
- },
- description: "",
- filename: "mhjfbmdgcfjbbpaeojofohoefgiehjai",
- length: 1,
- name: "Chrome PDF Viewer"
- }]
- }
- });
|