I frequently end up doing ~5 different manual actions when switching between using my laptop in dark environments and light environments, one of which is clicking Turn all styles off in the Stylish extension toolbar button to disable my dark user styles. I'd like to automate this somehow, probably a script bound to a hotkey. Is there a way to have the same effect as clicking Turn all styles off through the command line or some other way to accomplish this goal? I'm using Stylish in Chrome on Ubuntu.
Stylish: "Turn all styles off" from command line?
395 Views Asked by Ross Patterson At
1
There are 1 best solutions below
Related Questions in GOOGLE-CHROME
- How to tweak the security policy of Chrome, in order to run "unsafe" snippets in the console?
- Is it possible to manipuate 3rd party Chrome Extensions Network Reqeuests?
- undetected_chromedriver urllib.error.URLError
- Load testing k6 browser + docker
- Editor texto estilo WYSIWYG
- NodeJS crashing chrome browser
- Difficulty Accessing HTTP URLs/IP Addresses Due to Browser Redirecting to HTTPS: Seeking Solutions
- Chrome extension MV3: persistent service worker die after wake up from hibernation
- Attempting to Bundle a Require Command For a Chrome Extension
- Launch URL from C# and detect when browser is closed
- Python selenium scrap data from dynamic website table
- Google Chrome is consuming a lot of CPU on a video call?
- Component drawing error React App on Android + Chrome
- Chrome Selenium CDP Bidi API - Next Commands sended to Target Session have no effect while the initial one does work
- Devtools not working when i try to inspect elements for selenium python it goes to previous page
Related Questions in GOOGLE-CHROME-EXTENSION
- How to send data from content.js to background.js
- How can I make an array in my extension using information from a webpage?
- Is it possible to manipuate 3rd party Chrome Extensions Network Reqeuests?
- How to call a function in javascript for google chrome extension?
- Creating Chrome extension, but display text from Javascript file is not showing up on HTML's display. The HTML is the InnerHTML of another HTML file
- Error received when sending message across JS files: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist
- How do I highlight email address strings through a chrome extension?
- How do i load a Chrome extension when manifest.json is in a subfolder (app) instead of main folder
- Chrome extension MV3: persistent service worker die after wake up from hibernation
- Attempting to Bundle a Require Command For a Chrome Extension
- Embedded google map throws net::ERR_BLOCKED_BY_CLIENT in chromium(Brave) browser
- Reading the user's console errors from a chrome extension
- Persistent Browser Extension Reinstalls Itself: How to Eradicate ‘YOfficeStop’ Permanently on Windows 7?
- Can be their an extension to save pages in as offline in the browser itself?
- How can I modify javascript native fetch function from an extension?
Related Questions in USERSCRIPTS
- How can I modify javascript native fetch function from an extension?
- Userscript to style Shadow DOM elements of arbitrary website
- @require http://code.jquery.com/jquery-latest.js outdated: How to refer always the newest jquery library?
- Why does MutationObserver not detect nodes after a random point?
- Run tampermonkey userscript on non existing page?
- Using Javacript, Button element properly selected but .click() happening though event successfully triggered
- How do I add a US dollar sign to currency numbers on a webpage using a userscript?
- How to Implement Advanced Content Refresh Logic on YouTube's Homepage with a Userscript?
- Trying to create greasemonkey to check a box on a page
- Compare part of url with contents of div
- How to get precise position of HTML element after scrolling
- use golang wasm in userscript(tampermonkey)
- Ecapsulate existing JavaScript in Tampermonkey to run multiple instances independently at once
- How to trigger a JS function when the content of a page changes
- Identify iframe with specific string in src
Related Questions in STYLISH
- Modifying a React component with a custom user style sheet
- Override blur() CSS filter in Firefox with Stylus or Greasemonkey
- Stylish / Stylus : A:visited and A:link only affects certain websites
- How to change color of links in a table using CSS but without access to "class" parameter / HTML file?
- Stylish style to float the table header after it's been scrolled on top
- typescript problem in implementing rtl support for material-ui with emotion
- How can I change the Google Sheets background with CSS?
- Quarkus Stylish not working in container images (Openshift / Docker)
- text decoration line-through for visited links
- Gatsby build webpack fail with stylis
- Is it possible to select children sharing the same Css class, without knowing that class ahead?
- How to select <html> tag in CSS when the source HTML has multiple nested <html> tags?
- Scripting to alter Bitbucket diff colours
- Adjust padding width of specific div class with Stylish?
- How can I exclude two terms from regex in userContent.css?
Related Questions in USERSTYLES
- Modifying a React component with a custom user style sheet
- Conversion from CSS to UserScript
- CSS how to set font-size to @container itself in Stylus' User-Style?
- CSS: Selector for Google's search box
- Can you use two different pseudo elements on one element on CSS?
- How can I disable a whole CSS stylesheet on a specific list of domains?
- Select all elements with a certain color?
- Can't edit element on google page, no CSS selector works
- Is there a way to calculate HEX colors in CSS?
- Force an html element to be visible when parent is set to display:none
- How to use User Stylesheets to customize the style of some websites, without using a third party browser extension?
- I know the CSS selector I want to hide - how do I set a "UserStyle" to "display:none" it?
- CSS for image inside visited link
- Darker Google userscript not working in Tampermonkey 4.7
- userContent.css does not work for Slack in Firefox
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
My findings are that there isn't any way to change chrome extension settings from the command line and that the best way to do this is to set a key binding per @wOxxOm's comment and to use
xdotoolto send the keystrokes to chrome. There are a lot of gotchas in getting this to work. This is the final command I ended up using:Chrome doesn't accept the keystrokes if it's not active, so use
windowactivate --syncfirst. It seems that Chrome ignoresXTESTevents so use--window 0to forcexdotoolto useXSendEventinstead. Finally, I had to use--clearmodifiersbecause I haveCaps_LockandControl_Lswapped.