Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to activate Chrome's DOM Distiller with Javascript?

Is there any way to activate Chrome’s DOM Distiller with a (console) Javascript?

Background: I have a software with an in-build Chromium. I have there no access to flags – but do have it to console.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Here’s how you can activate it using JavaScript:

Open the Chrome Developer Tools Console:

Press Ctrl + Shift + J (Windows/Linux) or Cmd + Option + J (Mac) to open the Developer Tools and go to the Console tab.
Paste and Execute the Following Script:

Copy the following JavaScript code and paste it into the Console, then press Enter to execute it:

javascript: (function() {
    var uri = 'https://www.google.com/reader/view/?url=' + encodeURIComponent(window.location.href);
    window.location.href = uri;
})();
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading