DEV Community

8ta4
8ta4

Posted on

How to Automate Configurations for Chrome Extensions: Seeking Suggestions for Using JavaScript, Selenium, or Hammerspoon

In our modern world, it's easy to get sidetracked by online diversions. To combat this, I've been using a couple of Chrome extensions - Video Speed Controller and Vimium - to improve my productivity to do more important things, like watching cat videos. However, I find that manually configuring these extensions can be time-consuming.

To solve this, I'm working on a project to automate the process of opening the configuration page of these extensions and executing JavaScript to set their configurations. I've considered using AppleScript, but recent changes in Chrome's handling of JavaScript injection via AppleScript have made it less reliable.

I'm exploring alternatives like Selenium and Hammerspoon, but I'm not sure how to best use them.

Has anyone had experience with automating the configuration of Chrome extensions? Any insights, recommendations, or alternative tools would be greatly appreciated. Code examples or resources would also be helpful.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more