Can Chromium features that are normally turned on via switches be turned on programatically after starting up?Grouping child processes in node-webkit or atom/electronAtom Electron - Detect Dev Tools readyWhy does my Blink based browser play hide and seek?Starting Chromium with switches in file?Advanced GPU Control needed for browserwindowsnodeJS / Electron renders pages slower than ChromeIs there a keyboard shortcut to show or hide 'FPS meter' in Chromium versions 60+?Not allowed to load local resource - ElectronWhy is Chrome/Electron Devtools Perf showing almost nothing?Electron portable build not saving content locally

Infinite Abelian subgroup of infinite non Abelian group example

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

Took a trip to a parallel universe, need help deciphering

What mechanic is there to disable a threat instead of killing it?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Why is consensus so controversial in Britain?

What's the difference between 'rename' and 'mv'?

In a spin, are both wings stalled?

How can saying a song's name be a copyright violation?

I would say: "You are another teacher", but she is a woman and I am a man

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?

Can I ask the recruiters in my resume to put the reason why I am rejected?

Can a virus destroy the BIOS of a modern computer?

What's the point of deactivating Num Lock on login screens?

Watching something be written to a file live with tail

Assassin's bullet with mercury

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

Is it inappropriate for a student to attend their mentor's dissertation defense?

Where does SFDX store details about scratch orgs?

How do I write bicross product symbols in latex?

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

Theorems that impeded progress

What about the virus in 12 Monkeys?



Can Chromium features that are normally turned on via switches be turned on programatically after starting up?


Grouping child processes in node-webkit or atom/electronAtom Electron - Detect Dev Tools readyWhy does my Blink based browser play hide and seek?Starting Chromium with switches in file?Advanced GPU Control needed for browserwindowsnodeJS / Electron renders pages slower than ChromeIs there a keyboard shortcut to show or hide 'FPS meter' in Chromium versions 60+?Not allowed to load local resource - ElectronWhy is Chrome/Electron Devtools Perf showing almost nothing?Electron portable build not saving content locally






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Is there a way to use Chromium switches after starting it up, or must they be enabled on start up? For example, can switches be passed to the renderer processes, or just to the main process?



I want to turn on paint flashing in Chromium (actually in my Electron app which runs on top of Chromium).



Devtools has a checkbox that turns this on, but I want to be able to turn this on without devtools, and after the app has started.



I know there's a show-paint-rects flag I can use:



chrome.exe --show-paint-rects


In my Electron app, I would need to use app.commandLine.appendSwitch:



app.commandLine.appendSwitch("show-paint-rects");


I also found a ui-show-paint-rects flag that lives in something called the "compositor," but that may be irrelevant for me.



Both of these work, but since Chromium uses a multi-process architecture, I'm hoping that there's a way I can specify that switch, or otherwise, turn on a feature in one process and not have to specify it at startup.



Is there a way to do this in Chromium? (Would be ideal to do this in Electron, but I'm not counting on it)










share|improve this question






















  • depends. majority of flags are required to be set before whole choromium app instance starts, reason it only works via cli or electron's appendSwitch before app ready event.

    – OJ Kwon
    Mar 21 at 22:50











  • @OJKwon Yeah, I know that in general in depends, but I'm interested in turning on paint flashing after startup. Maybe I should make my question more specific...

    – pushkin
    Mar 21 at 22:56











  • you can safely assume it won't unless there is specific comment about some flag can be enabled after chromium app starts.

    – OJ Kwon
    Mar 22 at 1:34











  • @OJKwon Fair enough.. I was crossing my fingers

    – pushkin
    Mar 22 at 14:05

















0















Is there a way to use Chromium switches after starting it up, or must they be enabled on start up? For example, can switches be passed to the renderer processes, or just to the main process?



I want to turn on paint flashing in Chromium (actually in my Electron app which runs on top of Chromium).



Devtools has a checkbox that turns this on, but I want to be able to turn this on without devtools, and after the app has started.



I know there's a show-paint-rects flag I can use:



chrome.exe --show-paint-rects


In my Electron app, I would need to use app.commandLine.appendSwitch:



app.commandLine.appendSwitch("show-paint-rects");


I also found a ui-show-paint-rects flag that lives in something called the "compositor," but that may be irrelevant for me.



Both of these work, but since Chromium uses a multi-process architecture, I'm hoping that there's a way I can specify that switch, or otherwise, turn on a feature in one process and not have to specify it at startup.



Is there a way to do this in Chromium? (Would be ideal to do this in Electron, but I'm not counting on it)










share|improve this question






















  • depends. majority of flags are required to be set before whole choromium app instance starts, reason it only works via cli or electron's appendSwitch before app ready event.

    – OJ Kwon
    Mar 21 at 22:50











  • @OJKwon Yeah, I know that in general in depends, but I'm interested in turning on paint flashing after startup. Maybe I should make my question more specific...

    – pushkin
    Mar 21 at 22:56











  • you can safely assume it won't unless there is specific comment about some flag can be enabled after chromium app starts.

    – OJ Kwon
    Mar 22 at 1:34











  • @OJKwon Fair enough.. I was crossing my fingers

    – pushkin
    Mar 22 at 14:05













0












0








0








Is there a way to use Chromium switches after starting it up, or must they be enabled on start up? For example, can switches be passed to the renderer processes, or just to the main process?



I want to turn on paint flashing in Chromium (actually in my Electron app which runs on top of Chromium).



Devtools has a checkbox that turns this on, but I want to be able to turn this on without devtools, and after the app has started.



I know there's a show-paint-rects flag I can use:



chrome.exe --show-paint-rects


In my Electron app, I would need to use app.commandLine.appendSwitch:



app.commandLine.appendSwitch("show-paint-rects");


I also found a ui-show-paint-rects flag that lives in something called the "compositor," but that may be irrelevant for me.



Both of these work, but since Chromium uses a multi-process architecture, I'm hoping that there's a way I can specify that switch, or otherwise, turn on a feature in one process and not have to specify it at startup.



Is there a way to do this in Chromium? (Would be ideal to do this in Electron, but I'm not counting on it)










share|improve this question














Is there a way to use Chromium switches after starting it up, or must they be enabled on start up? For example, can switches be passed to the renderer processes, or just to the main process?



I want to turn on paint flashing in Chromium (actually in my Electron app which runs on top of Chromium).



Devtools has a checkbox that turns this on, but I want to be able to turn this on without devtools, and after the app has started.



I know there's a show-paint-rects flag I can use:



chrome.exe --show-paint-rects


In my Electron app, I would need to use app.commandLine.appendSwitch:



app.commandLine.appendSwitch("show-paint-rects");


I also found a ui-show-paint-rects flag that lives in something called the "compositor," but that may be irrelevant for me.



Both of these work, but since Chromium uses a multi-process architecture, I'm hoping that there's a way I can specify that switch, or otherwise, turn on a feature in one process and not have to specify it at startup.



Is there a way to do this in Chromium? (Would be ideal to do this in Electron, but I'm not counting on it)







electron command-line-arguments chromium






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 21 at 22:02









pushkinpushkin

4,676113054




4,676113054












  • depends. majority of flags are required to be set before whole choromium app instance starts, reason it only works via cli or electron's appendSwitch before app ready event.

    – OJ Kwon
    Mar 21 at 22:50











  • @OJKwon Yeah, I know that in general in depends, but I'm interested in turning on paint flashing after startup. Maybe I should make my question more specific...

    – pushkin
    Mar 21 at 22:56











  • you can safely assume it won't unless there is specific comment about some flag can be enabled after chromium app starts.

    – OJ Kwon
    Mar 22 at 1:34











  • @OJKwon Fair enough.. I was crossing my fingers

    – pushkin
    Mar 22 at 14:05

















  • depends. majority of flags are required to be set before whole choromium app instance starts, reason it only works via cli or electron's appendSwitch before app ready event.

    – OJ Kwon
    Mar 21 at 22:50











  • @OJKwon Yeah, I know that in general in depends, but I'm interested in turning on paint flashing after startup. Maybe I should make my question more specific...

    – pushkin
    Mar 21 at 22:56











  • you can safely assume it won't unless there is specific comment about some flag can be enabled after chromium app starts.

    – OJ Kwon
    Mar 22 at 1:34











  • @OJKwon Fair enough.. I was crossing my fingers

    – pushkin
    Mar 22 at 14:05
















depends. majority of flags are required to be set before whole choromium app instance starts, reason it only works via cli or electron's appendSwitch before app ready event.

– OJ Kwon
Mar 21 at 22:50





depends. majority of flags are required to be set before whole choromium app instance starts, reason it only works via cli or electron's appendSwitch before app ready event.

– OJ Kwon
Mar 21 at 22:50













@OJKwon Yeah, I know that in general in depends, but I'm interested in turning on paint flashing after startup. Maybe I should make my question more specific...

– pushkin
Mar 21 at 22:56





@OJKwon Yeah, I know that in general in depends, but I'm interested in turning on paint flashing after startup. Maybe I should make my question more specific...

– pushkin
Mar 21 at 22:56













you can safely assume it won't unless there is specific comment about some flag can be enabled after chromium app starts.

– OJ Kwon
Mar 22 at 1:34





you can safely assume it won't unless there is specific comment about some flag can be enabled after chromium app starts.

– OJ Kwon
Mar 22 at 1:34













@OJKwon Fair enough.. I was crossing my fingers

– pushkin
Mar 22 at 14:05





@OJKwon Fair enough.. I was crossing my fingers

– pushkin
Mar 22 at 14:05












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55289928%2fcan-chromium-features-that-are-normally-turned-on-via-switches-be-turned-on-prog%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55289928%2fcan-chromium-features-that-are-normally-turned-on-via-switches-be-turned-on-prog%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript