chrome启动参数

本文详细介绍了 Chrome 浏览器中的一些高级设置选项,包括允许跨源认证提示、允许外部页面访问、忽略 TLS/SSL 错误、启用远程 attestation 测试模式、禁用 GPU 硬件加速等。这些设置对于开发者测试和调试网页应用非常有用,同时也揭示了 Chrome 在安全性、性能优化和用户体验方面的复杂平衡。
摘要由CSDN通过智能技术生成
--allow-cross-origin-auth-prompt Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair. 
--allow-external-pages Allow access to external pages during web tests. 
--allow-failed-policy-fetch-for-test If this flag is passed, failed policy fetches will not cause profile initialization to fail. This is useful for tests because it means that tests don't have to mock out the policy infrastructure. 
--allow-file-access-from-files By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing. 允许chrome读取本地文件
--allow-http-background-page Allows non-https URL for background_page for hosted apps. 
--allow-http-screen-capture Allow non-secure origins to use the screen capture API and the desktopCapture extension API. 
--allow-insecure-localhost Enables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests). 
--allow-legacy-extension-manifests Allows the browser to load extensions that lack a modern manifest when that would otherwise be forbidden. 
--allow-loopback-in-peer-connection Allows loopback interface to be added in network list for peer connection. 
--allow-nacl-crxfs-api[2] Specifies comma-separated list of extension ids or hosts to grant access to CRX file system APIs. 
--allow-nacl-file-handle-api[2] Specifies comma-separated list of extension ids or hosts to grant access to file handle APIs. 
--allow-nacl-socket-api[2] Specifies comma-separated list of extension ids or hosts to grant access to TCP/UDP socket APIs. 
--allow-no-sandbox-job Enables the sandboxed processes to run without a job object assigned to them. This flag is required to allow Chrome to run in RemoteApps or Citrix. This flag can reduce the security of the sandboxed processes and allow them to do certain API calls like shut down Windows or access the clipboard. Also we lose the chance to kill some processes until the outer job that owns them finishes. 
--allow-outdated-plugins Don't block outdated plugins. 
--allow-popups-during-page-unload Allow a page to show popups during its unloading. TODO(https://crbug.com/937569): Remove this in Chrome 88. 
--allow-pre-commit-input Allows processing of input before a frame has been committed. TODO(schenney): crbug.com/987626. Used by headless. Look for a way not involving a command line switch. 
--allow-profiles-outside-user-dir Allows profiles to be created outside of the user data dir. TODO(https://crbug.com/1060366): Various places in Chrome assume that all profiles are within the user data dir. Some tests need to violate that assumption. The switch should be removed after this workaround is no longer needed. 
--allow-ra-in-dev-mode Allows remote attestation (RA) in dev mode for testing purpose. Usually RA is disabled in dev mode because it will always fail. However, there are cases in testing where we do want to go through the permission flow even in dev mode. This can be enabled by this flag. 
--allow-running-insecure-content No description 
--allow-sandbox-debugging Allows debugging of sandboxed processes (see zygote_main_linux.cc). 
--allow-silent-push Allows Web Push notifications that do not show a notification. 
--allow-sync-xhr-in-page-dimissal Allow a page to send synchronus XHR during its unloading. TODO(https://crbug.com/1003101): Remove this in Chrome 88. 
--allow-third-party-modules[1] Allows third party modules to inject by disabling the BINARY_SIGNATURE mitigation policy on Win10+. Also has other effects in ELF. 
--allow-unsecure-dlls[3] Don't allow EnableSecureDllLoading to run when this is set. This is only to be used in tests. 
--disable-2d-canvas-clip-aa Disable antialiasing on 2d canvas clips 
--disable-2d-canvas-image-chromium Disables Canvas2D rendering into a scanout buffer for overlay support. 
--disable-3d-apis Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. This is controlled by policy and is kept separate from the other enable/disable switches to avoid accidentally regressing the policy support for controlling access to these APIs. 
--disable-accelerated-2d-canvas Disable gpu-accelerated 2d canvas. 
--disable-accelerated-mjpeg-decode Disable hardware acceleration of mjpeg decode for captured frame, where available. 
--disable-accelerated-video-decode Disables hardware acceleration of video decode, where available. 
--disable-accelerated-video-encode Disables hardware acceleration of video encode, where available. 
--disable-and-delete-previous-log Disable cros action logging. 
--disable-angle-features Disables specified comma separated ANGLE features if found. 
--disable-app-list-dismiss-on-blur If set, the app list will not be dismissed when it loses focus. This is useful when testing the app list or a custom launcher page. It can still be dismissed via the other methods (like the Esc key). 
--disable-arc-cpu-restriction Prevents any CPU restrictions being set on the ARC container. Only meant to be used by tests as some tests may time out if the ARC container is throttled. 
--disable-arc-data-wipe Disables android user data wipe on opt out. 
--disable-arc-opt-in-verification Disables ARC Opt-in verification process and ARC is enabled by default. 
--disable-audio-output No description 
--disable-audio-support-for-desktop-share No description 
--disable-auto-reload Disable auto-reload of error pages. 
--disable-auto-wpt-origin-isolation Disables the automatic origin isolation of web platform test domains. We normally origin-isolate them for better test coverage, but tests of opt-in origin isolation need to disable this. 
--disable-avfoundation-overlays[6] Disable use of AVFoundation to draw video content. 
--disable-ax-menu-list Optionally disable AXMenuList, which makes the internal pop-up menu UI for a select element directly accessible. 
--disable-back-forward-cache Disables the BackForwardCache feature. 
--disable-background-media-suspend Do not immediately suspend media in background tabs. 
--disable-background-networking Disable several subsystems which run network requests in the background. This is for use when doing network performance testing to avoid noise in the measurements. 关闭Chrome“版本太旧”的升级提示
--disable-background-timer-throttling Disable task throttling of timer tasks from background pages. 
--disable-backgrounding-occluded-windows Disable backgrounding renders for occluded windows. Done for tests to avoid nondeterministic behavior. 
--disable-backing-store-limit Disable limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory. 
--disable-best-effort-tasks Delays execution of TaskPriority::BEST_EFFORT tasks until shutdown. 
--disable-breakpad Disables the crash reporting. 
--disable-bundled-ppapi-flash Disables the bundled PPAPI version of Flash. 
--disable-cancel-all-touches[12] Disable CancelAllTouches() function for the implementation on cancel single touches. 
--disable-canvas-aa Disable antialiasing on 2d canvas. 
--disable-checker-imaging Disabled defering all image decodes to the image decode service, ignoring DecodingMode preferences specified on PaintImage. 
--disable-checking-optimization-guide-user-permissions No description 
--disable-client-side-phishing-detection Disables the client-side phishing detection feature. Note that even if client-side phishing detection is enabled, it will only be active if the user has opted in to UMA stats and SafeBrowsing is enabled in the preferences. 
--disable-component-cloud-policy Disables fetching and storing cloud policy for components. 
--disable-component-extensions-with-background-pages Disable default component extensions with background pages - useful for performance tests where these pages may interfere with perf results. 
--disable-component-update No description 
--disable-composited-antialiasing Disables layer-edge anti-aliasing in the compositor. 
--disable-crash-reporter Disable crash reporter for headless. It is enabled by default in official builds. 
--disable-d3d11 Disables use of D3D11. 
--disable-databases Disables HTML5 DB support. 
--disable-default-apps Disables installation of default apps on first run. This is used during automated testing. 
--disable-demo-mode Disables the Chrome OS demo. 
--disable-dev-shm-usage[13] The /dev/shm partition is too small in certain VM environments, causing Chrome to fail or crash (see http://crbug.com/715363). Use this flag to work-around this issue (a temporary directory will always be used to create anonymous shared memory files). 
--disable-device-disabling If this switch is set, the device cannot be remotely disabled by its owner. 
--disable-device-discovery-notifications Disables device discovery notifications. 
--disable-dinosaur-easter-egg Disables the dinosaur easter egg on the offline interstitial. 
--disable-direct-composition Disables DirectComposition surface. 
--disable-direct-composition-video-overlays Disables using DirectComposition video overlays, even if hardware overlays are supported. 
--disable-domain-blocking-for-3d-apis Disable the per-domain blocking for 3D APIs after GPU reset. This switch is intended only for tests. 
--disable-domain-reliability Disables Domain Reliability Monitoring. 
--disable-dwm-composition Disables use of DWM composition for top level windows. 
--disable-encryption-migration Disable encryption migration for user's cryptohome to run latest Arc. 
--disable-enterprise-policy Disables enterprise policy support. 
--disable-es3-gl-context Disables use of ES3 backend (use ES2 backend instead). 
--disable-es3-gl-context-for-testing Disables use of ES3 backend at a lower level, for testing purposes. This isn't guaranteed to work everywhere, so it's test-only. 
--disable-experimental-accessibility-chromevox-language-switching Disables ChromeVox language switching feature. 
--disable-experimental-accessibility-chromevox-search-menus Disables ChromeVox search menus feature. 
--disable-explicit-dma-fences Disable explicit DMA-fences 
--disable-extensions Disable extensions. 
--disable-extensions-except Disable extensions except those specified in a comma-separated list. 
--disable-extensions-file-access-check Disable checking for user opt-in for extensions that want to inject script into file URLs (ie, always allow it). This is used during automated testing. 
--disable-extensions-http-throttling Disable the net::URLRequestThrottlerManager functionality for requests originating from extensions. 
--disable-features Comma-separated list of feature names to disable. See also kEnableFeatures. 
--disable-fetching-hints-at-navigation-start No description 
--disable-field-trial-config Disable field trial tests configured in fieldtrial_testing_config.json. 
--disable-file-system Disable FileSystem API. 
--disable-fine-grained-time-zone-detection Disables fine grained time zone detection. 
--disable-flash-3d Disable 3D inside of flapper. 
--disable-flash-stage3d Disable Stage3D inside of flapper. 
--disable-font-subpixel-positioning Force disables font subpixel positioning. This affects the character glyph sharpness, kerning, hinting and layout. 
--disable-frame-rate-limit Disables begin frame limiting in both cc scheduler and display scheduler. Also implies --disable-gpu-vsync (see //ui/gl/gl_switches.h). 
--disable-gaia-services Disables GAIA services such as enrollment and OAuth session restore. Used by 'fake' telemetry login. 
--disable-gesture-requirement-for-presentation Disable user gesture requirement for presentation. 
--disable-gl-drawing-for-tests Disables GL drawing operations which produce pixel output. With this the GL output will not be correct but tests will run faster. 
--disable-gl-error-limit Disable the GL error log limit. 
--disable-gl-extensions Disables specified comma separated GL Extensions if found. 
--disable-glsl-translator Disable the GLSL translator. 
--disable-gpu Disables GPU hardware acceleration. If software renderer is not in place, then the GPU process won't launch. 
--disable-gpu-compositing Prevent the compositor from using its GPU implementation. 
--disable-gpu-driver-bug-workarounds Disable workarounds for various GPU driver bugs. 
--disable-gpu-early-init Disable proactive early init of GPU process. 
--disable-gpu-memory-buffer-compositor-resources Do not force that all compositor resources be backed by GPU memory buffers. 
--disable-gpu-memory-buffer-video-frames Disable GpuMemoryBuffer backed VideoFrames. 
--disable-gpu-process-crash-limit For tests, to disable the limit on the number of times the GPU process may be restarted. 
--disable-gpu-process-for-dx12-info-collection Disables the non-sandboxed GPU process for DX12 info collection 
--disable-gpu-program-cache Turn off gpu program caching 
--disable-gpu-rasterization Disable GPU rasterization, i.e. rasterize on the CPU only. Overrides the kEnableGpuRasterization flag. 
--disable-gpu-sandbox Disables the GPU process sandbox. 
--disable-gpu-shader-disk-cache Disables the GPU shader on disk cache. 
--disable-gpu-vsync Stop the GPU from synchronizing presentation with vblank. 
--disable-gpu-watchdog Disable the thread that crashes the GPU process if it stops responding to messages. 
--disable-hang-monitor Suppresses hang monitor dialogs in renderer processes. This may allow slow unload handlers on a page to prevent the tab from closing, but the Task Manager can be used to terminate the offending process in this case. 
--disable-headless-mode Disables the shell from beginning in headless mode. Tests will then attempt to use the hardware GPU for rendering. This is only followed when kRunWebTests is set. 
--disable-hid-detection-on-oobe Disables HID-detection OOBE screen. 
--disable-highres-timer[1] Disable high-resolution timer on Windows. 
--disable-histogram-customizer Disable the RenderThread's HistogramCustomizer. 
--disable-hosted-app-shim-creation[6] Disables app shim creation for hosted apps on Mac. 
--disable-image-animation-resync Disallow image animations to be reset to the beginning to avoid skipping many frames. Only effective if compositor image animations are enabled. 
--disable-in-process-stack-traces Disables the in-process stack traces. 
--disable-ios-password-suggestions Disable showing available password credentials in the keyboard accessory view when focused on form fields. 
--disable-ipc-flooding-protection Disables the IPC flooding protection. It is activated by default. Some javascript functions can be used to flood the browser process with IPC. This protection limits the rate at which they can be used. 
--disable-javascript-harmony-shipping Disable latest shipping ECMAScript 6 features. 
--disable-kill-after-bad-ipc Don't kill a child process when it sends a bad IPC message. Apart from testing, it is a bad idea from a security perspective to enable this switch. 
--disable-layer-tree-host-memory-pressure Disables LayerTreeHost::OnMemoryPressure 
--disable-lcd-text Disables LCD text. 
--disable-legacy-window[1] Disable the Legacy Window which corresponds to the size of the WebContents. 
--disable-local-storage Disable LocalStorage. 
--disable-logging Force logging to be disabled. Logging is enabled by default in debug builds. 
--disable-logging-redirect[5] Disables logging redirect for testing. 
--disable-login-animations Avoid doing expensive animations upon login. 
--disable-login-screen-apps[5] Disables apps on the login screen. By default, they are allowed and can be installed through policy. 
--disable-low-end-device-mode Force disabling of low-end device mode when set. 
--disable-low-latency-dxva Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders. 
--disable-low-res-tiling When using CPU rasterizing disable low resolution tiling. This uses less power, particularly during animations, but more white may be seen during fast scrolling especially on slower devices. 
--disable-mac-overlays[6] Fall back to using CAOpenGLLayers display content, instead of the IOSurface based overlay display path. 
--disable-machine-cert-request Disables requests for an enterprise machine certificate during attestation. 
--disable-main-frame-before-activation Disables sending the next BeginMainFrame before the previous commit activates. Overrides the kEnableMainFrameBeforeActivation flag. 
--disable-media-session-api[7] Disable Media Session API 
--disable-metal-test-shaders No description 
--disable-modal-animations[6] Disable animations for showing and hiding modal dialogs. 
--disable-mojo-renderer Rather than use the renderer hosted remotely in the media service, fall back to the default renderer within content_renderer. Does not change the behavior of the media service. 
--disable-multi-display-layout Disables the multiple display layout UI. 
--disable-namespace-sandbox Disables usage of the namespace sandbox. 
--disable-new-content-rendering-timeout Disables clearing the rendering output of a renderer when it didn't commit new output for a while after a top-frame navigation. 
--disable-notifications Disables the Web Notification and the Push APIs. 
--disable-nv12-dxgi-video Disables the video decoder from drawing to an NV12 textures instead of ARGB. 
--disable-offer-store-unmasked-wallet-cards Force hiding the local save checkbox in the autofill dialog box for getting the full credit card number for a wallet card. The card will never be stored locally. 
--disable-oop-rasterization Disables OOP rasterization. Takes precedence over the enable flag. 
--disable-oopr-debug-crash-dump[7] Disables debug crash dumps for OOPR. 
--disable-oor-cors Disable OOR-CORS in child processes regardless of the base::Feature flag. 
--disable-overscroll-edge-effect[7] Disable overscroll edge effects like those found in Android views. 
--disable-partial-raster Disable partial raster in the renderer. Disabling this switch also disables the use of persistent gpu memory buffers. 
--disable-pepper-3d Disable Pepper3D. 
--disable-pepper-3d-image-chromium Disable Image Chromium for Pepper 3d. 
--disable-per-user-timezone Disables per-user timezone. 
--disable-permissions-api Disables the Permissions API. 
--disable-pinch Disables compositor-accelerated touch-screen pinch gestures. 
--disable-pnacl-crash-throttling Disables crash throttling for Portable Native Client. 
--disable-popup-blocking Disables pop-up blocking. 
--disable-prefer-compositing-to-lcd-text Disable the creation of compositing layers when it would prevent LCD text. 
--disable-presentation-api Disables the Presentation API. 
--disable-print-preview Disables print preview (For testing, and for users who don't like us. :[ ) 
--disable-prompt-on-repost Normally when the user attempts to navigate to a page that was the result of a post we prompt to make sure they want to. This switch may be used to disable that check. This switch is used during automated testing. 
--disable-pull-to-refresh-effect[7] Disable the pull-to-refresh effect when vertically overscrolling content. 
--disable-pushstate-throttle Disables throttling of history.pushState/replaceState calls. 
--disable-reading-from-canvas Taints all <canvas> elements, regardless of origin. 
--disable-remote-core-animation[6] Disable use of cross-process CALayers to display content directly from the GPU process on Mac. 
--disable-remote-fonts Disables remote web font support. SVG font should always work whether this option is specified or not. 
--disable-remote-playback-api Disables the RemotePlayback API. 
--disable-renderer-accessibility Turns off the accessibility in the renderer. 
--disable-renderer-backgrounding Prevent renderer process backgrounding when set. 
--disable-resource-scheduler Whether the ResourceScheduler is disabled. Note this is only useful for C++ Headless embedders who need to implement their own resource scheduling. 
--disable-rgba-4444-textures Disables RGBA_4444 textures. 
--disable-rollback-option Disables rollback option on reset screen. 
--disable-rtc-smoothness-algorithm Disables the new rendering algorithm for webrtc, which is designed to improve the rendering smoothness. 
--disable-running-as-system-compositor Disable running as system compositor. 
--disable-screen-orientation-lock[7] Disable the locking feature of the screen orientation API. 
--disable-scroll-to-text-fragment This switch disables the ScrollToTextFragment feature. 
--disable-search-geolocation-disclosure Disables showing the search geolocation disclosure UI. Used for perf testing. 
--disable-seccomp-filter-sandbox Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). 
--disable-setuid-sandbox Disable the setuid sandbox (Linux only). 
--disable-shader-name-hashing Turn off user-defined name hashing in shaders. 
--disable-shared-workers Disable shared workers. 
--disable-signin-frame-client-certs Disables client certificate authentication on the sign-in frame on the Chrome OS sign-in profile. TODO(https://crbug.com/844022): Remove this flag when reaching endpoints that request client certs does not hang anymore when there is no system token yet. 
--disable-signin-scoped-device-id Disables sending signin scoped device id to LSO with refresh token request. 
--disable-site-isolation-for-policy[7] Just like kDisableSiteIsolation, but doesn't show the "stability and security will suffer" butter bar warning. 
--disable-site-isolation-trials Disables site isolation. Note that the opt-in (to site-per-process, isolate-origins, etc.) via enterprise policy and/or cmdline takes precedence over the kDisableSiteIsolation switch (i.e. the opt-in takes effect despite potential presence of kDisableSiteIsolation switch). Note that for historic reasons the name of the switch misleadingly mentions "trials", but the switch also disables the default site isolation that ships on desktop since M67. The name of the switch is preserved for backcompatibility of chrome://flags. 
--disable-skia-runtime-opts Do not use runtime-detected high-end CPU optimizations in Skia. This is useful for forcing a baseline code path for e.g. web tests. 
--disable-smooth-scrolling Disable smooth scrolling for testing. 
--disable-software-compositing-fallback For tests, to disable falling back to software compositing if the GPU Process has crashed, and reached the GPU Process crash limit. 
--disable-software-rasterizer Disables the use of a 3D software rasterizer. 
--disable-software-video-decoders No description 
--disable-speech-api Disables the Web Speech API (both speech recognition and synthesis). 
--disable-speech-synthesis-api Disables the speech synthesis part of Web Speech API. 
--disable-sync Disables syncing browser data to a Google Account. 
--disable-sync-types Disables syncing one or more sync data types that are on by default. See sync/base/model_type.h for possible types. Types should be comma separated, and follow the naming convention for string representation of model types, e.g.: --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' 
--disable-system-font-check Disables the check for the system font when specified. 
--disable-test-root-certs Disables adding the test certs in the network process. 
--disable-third-party-keyboard-workaround Disables the 3rd party keyboard omnibox workaround. 
--disable-threaded-animation No description 
--disable-threaded-compositing Disable multithreaded GPU compositing of web content. 
--disable-threaded-scrolling Disable multithreaded, compositor scrolling of web content. 
--disable-timeouts-for-profiling[7] Disable timeouts that may cause the browser to die when running slowly. This is useful if running with profiling (such as debug malloc). 
--disable-touch-adjustment Disables touch adjustment. 
--disable-touch-drag-drop Disables touch event based drag and drop. 
--disable-usb-keyboard-detect[1] Disables the USB keyboard detection for blocking the OSK on Win8+. 
--disable-v8-idle-tasks Disable V8 idle tasks. 
--disable-video-capture-use-gpu-memory-buffer This is for the same feature controlled by kVideoCaptureUseGpuMemoryBuffer. kVideoCaptureUseGpuMemoryBuffer is settled by chromeos overlays. This flag is necessary to overwrite the settings via chrome:// flag. The behavior of chrome://flag#zero-copy-video-capture is as follows; Default : Respect chromeos overlays settings. Enabled : Force to enable kVideoCaptureUseGpuMemoryBuffer. Disabled : Force to disable kVideoCaptureUseGpuMemoryBuffer. 
--disable-volume-adjust-sound Disables volume adjust sound. 
--disable-vsync-for-tests No description 
--disable-vulkan-fallback-to-gl-for-testing Disables falling back to GL based hardware rendering if initializing Vulkan fails. This is to allow tests to catch regressions in Vulkan. 
--disable-vulkan-surface Disables VK_KHR_surface extension. Instead of using swapchain, bitblt will be used for present render result on screen. 
--disable-wake-on-wifi Disables wake on wifi features. 
--disable-web-security Don't enforce the same-origin policy. (Used by people testing their sites.) 
--disable-webgl Disable all versions of WebGL. 
--disable-webgl-image-chromium Disables WebGL rendering into a scanout buffer for overlay support. 
--disable-webgl2 Disable WebGL2. 
--disable-webrtc-encryption Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it ignores this switch on its stable and beta channels. 
--disable-webrtc-hw-decoding Disables HW decode acceleration for WebRTC. 
--disable-webrtc-hw-encoding Disables HW encode acceleration for WebRTC. 
--disable-windows10-custom-titlebar[1] Disables custom-drawing the window titlebar on Windows 10. 
--disable-yuv-image-decoding Disable YUV image decoding for those formats and cases where it's supported. Has no effect unless GPU rasterization is enabled. 
--disable-yuv420-biplanar Disable a NV12 format buffer allocation with gfx::BufferUsage::SCANOUT_CPU_READ_WRITE usage. 
--disable-zero-browsers-open-for-tests Some tests seem to require the application to close when the last browser window is closed. Thus, we need a switch to force this behavior for ChromeOS Aura, disable "zero window mode". TODO(pkotwicz): Investigate if this bug can be removed. (http://crbug.com/119175) 
--disable-zero-copy Disable rasterizer that writes directly to GPU memory associated with tiles. 
--disable-zero-copy-dxgi-video Disable the video decoder from drawing directly to a texture. 
--disabled No description 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: Chrome启动参数置顶是指在启动Chrome浏览器时,通过添加一定的参数与命令,可以实现Chrome浏览器的窗口在系统界面的最上方显示。这种方式可以使用户在使用Chrome浏览器时,无论在哪个应用程序中操作,Chrome的窗口始终保持在最上层,方便用户实时查看和操作Chrome浏览器中的网页内容。 Chrome启动参数置顶的设置很简单,只需在Chrome的快捷方式后增加一个启动参数-t, 即可让Chrome浏览器窗口置顶。具体设置方法如下: 1. 右击Chrome的快捷方式,选择“属性”; 2. 在属性窗口的“目标”文本框后面,添加空格和参数“-t”,如下图: ![Chrome启动参数-置顶图示](https://pic4.zhimg.com/v2-bf41cb3fe313fdf7683ba3c14ab52499_r.jpg) 3. 设置完成后,单击“应用”和“确定”保存设置,再使用该快捷方式启动Chrome浏览器,就可以看到Chrome浏览器窗口在最上层显示。 需要注意的是,Chrome启动参数置顶只能在Windows操作系统上实现,而在其他操作系统如macOS、Linux等上,可能需要采用不同的设置方法。此外,部分电脑由于安全软件等原因,可能会禁用此类参数,需要确认是否可行后再进行设置。 ### 回答2: Chrome启动参数是在启动Chrome浏览器时设置浏览器参数的方式。用户可以通过设置启动参数来实现浏览器的不同功能和操作。其中,置顶是一种常用的启动参数设置,可以将Chrome浏览器窗口设置为始终置顶,以方便用户在进行多任务操作时能够快速访问浏览器窗口。 要设置Chrome浏览器窗口置顶,用户需要在启动参数中添加--force-desktop-notice参数。可以通过以下步骤来设置Chrome浏览器窗口置顶: 1. 打开Chrome浏览器的快捷方式的属性窗口,在“目标”栏输入以下命令行: chrome.exe --force-desktop-notice 2. 点击“应用”和“确定”按钮保存更改。 3. 关闭所有现有的Chrome浏览器窗口并重新启动Chrome浏览器,此时打开的所有Chrome浏览器窗口都将始终置顶。 除了设置Chrome浏览器窗口置顶之外,还有许多其他的启动参数可以帮助用户实现更多的功能和操作。例如,用户可以使用--kiosk参数Chrome浏览器设置为全屏幕模式,或使用--incognito参数以隐身模式启动Chrome浏览器等。 需要注意的是,启动参数可能因Chrome版本的不同而有所变化,因此在设置启动参数时需要了解自己使用的Chrome版本,并确认所使用的参数是否适用于该版本的Chrome浏览器。 ### 回答3: 首先,理解什么是Chrome启动参数是非常重要的。Chrome启动参数是用户可以在Chrome浏览器启动时添加的一些指令或选项,以此来改变Chrome启动时的行为和配置。有时候我们需要Chrome启动时执行一些额外的工作或是更改一些默认设置,只要使用启动参数就能够轻松实现。 接着,了解如何在Windows系统上将Chrome浏览器置顶。通过使用启动参数,我们可以轻松将Chrome浏览器置顶,这样就不用手动调整浏览器窗口的位置了。具体的步骤如下: 1. 右键点击Chrome桌面图标,选择“属性”; 2. 在属性窗口中,找到“目标”项,并在它的尾部添加以下文字: --force--pin-tab位置(位置可自己定义); 3. 点击“应用”按钮,保存更改。 以上步骤执行完毕后,下一次启动Chrome时,它就会自动将网页置顶并固定在屏幕上指定的位置。这样做借助了Chrome的“强制固定选项卡”的功能,让我们可以轻松地在Windows系统上实现Chrome浏览器窗口的自动置顶。 最后,需要强调的是,在使用Chrome启动参数时,我们需要非常小心。有些参数可能会使Chrome崩溃或者影响Chrome的性能表现。因此,如果您不知道如何正确地使用Chrome启动参数,最好还是谨慎一些,以免造成不必要的损失。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值