* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, October 10, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    The Best “Friends” Halloween Episodes That Blend Spooky And Silly In The Perfect Way – Yahoo

    The Best “Friends” Halloween Episodes That Blend Spooky And Silly In The Perfect Way – Yahoo

    MSG Entertainment Takes Radio City Music Hall Into the Future With Introduction of Sphere Immersive Sound – Business Wire

    MSG Entertainment Transforms Radio City Music Hall with Cutting-Edge Sphere Immersive Sound Experience

    Israel’s Entertainment Industry Is Being Targeted by the Left in Hollywood and the Right at Home – The Wall Street Journal

    Inside the Fierce Clash Shaping Israel’s Entertainment Industry: Hollywood vs. Local Voices

    Offset Is Ready To Finalize Divorce With Cardi B for a Major Reason – Yahoo

    Offset Poised to Finalize Divorce from Cardi B for a Major Reason

    Beyond the Stage: 8 Performing Arts Centers Driving Entertainment and Education – Livability.com

    Beyond the Stage: 8 Performing Arts Centers Transforming Entertainment and Education

    Row K Entertainment Emerges as Major New Hollywood Buyer With Splashy TIFF Shopping Spree – TheWrap

    Row K Entertainment Emerges as Major New Hollywood Buyer With Splashy TIFF Shopping Spree – TheWrap

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    China outlines more controls on exports of rare earths and technology – fox40.com

    China Unveils Tougher Restrictions on Rare Earth and Technology Exports

    Wisconsin Dairy Leads the Way with Cutting-Edge Technology Systems

    ENERCON and Biome collaborate for wind turbine noise reduction technology – Yahoo Finance

    ENERCON and Biome Join Forces to Revolutionize Wind Turbine Noise Reduction

    US and investors gambling on unproven nuclear technology, warn experts – Financial Times

    US and investors gambling on unproven nuclear technology, warn experts – Financial Times

    Is Light-Speed Analog Computing the Future of Technology? – BIOENGINEER.ORG

    Could Light-Speed Analog Computing Transform the Future of Technology?

    ARM Institute opens technology project call to speed submarine manufacturing – The Robot Report

    ARM Institute Unveils Cutting-Edge Technology Project to Revolutionize Submarine Manufacturing

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    The Best “Friends” Halloween Episodes That Blend Spooky And Silly In The Perfect Way – Yahoo

    The Best “Friends” Halloween Episodes That Blend Spooky And Silly In The Perfect Way – Yahoo

    MSG Entertainment Takes Radio City Music Hall Into the Future With Introduction of Sphere Immersive Sound – Business Wire

    MSG Entertainment Transforms Radio City Music Hall with Cutting-Edge Sphere Immersive Sound Experience

    Israel’s Entertainment Industry Is Being Targeted by the Left in Hollywood and the Right at Home – The Wall Street Journal

    Inside the Fierce Clash Shaping Israel’s Entertainment Industry: Hollywood vs. Local Voices

    Offset Is Ready To Finalize Divorce With Cardi B for a Major Reason – Yahoo

    Offset Poised to Finalize Divorce from Cardi B for a Major Reason

    Beyond the Stage: 8 Performing Arts Centers Driving Entertainment and Education – Livability.com

    Beyond the Stage: 8 Performing Arts Centers Transforming Entertainment and Education

    Row K Entertainment Emerges as Major New Hollywood Buyer With Splashy TIFF Shopping Spree – TheWrap

    Row K Entertainment Emerges as Major New Hollywood Buyer With Splashy TIFF Shopping Spree – TheWrap

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    China outlines more controls on exports of rare earths and technology – fox40.com

    China Unveils Tougher Restrictions on Rare Earth and Technology Exports

    Wisconsin Dairy Leads the Way with Cutting-Edge Technology Systems

    ENERCON and Biome collaborate for wind turbine noise reduction technology – Yahoo Finance

    ENERCON and Biome Join Forces to Revolutionize Wind Turbine Noise Reduction

    US and investors gambling on unproven nuclear technology, warn experts – Financial Times

    US and investors gambling on unproven nuclear technology, warn experts – Financial Times

    Is Light-Speed Analog Computing the Future of Technology? – BIOENGINEER.ORG

    Could Light-Speed Analog Computing Transform the Future of Technology?

    ARM Institute opens technology project call to speed submarine manufacturing – The Robot Report

    ARM Institute Unveils Cutting-Edge Technology Project to Revolutionize Submarine Manufacturing

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

Show HN: I made a CLI tool to create web extensions with no build configuration

April 30, 2024
in Technology
Show HN: I made a CLI tool to create web extensions with no build configuration
Share on FacebookShare on Twitter

Plug-and-play, zero-config, cross-browser extension development tool.

Screenshot 2024-03-25 at 13 06 15

Logo

Create cross-browser extensions with no build configuration.

Create A New Extension — How to create a new extension.
Get Started Immediately — Get work done in no time.
I have An Extension – Use only specific parts of Extension.js.

Extension.js is a plug-and-play, zero-config, cross-browser extension development tool with built-in support for TypeScript, WebAssembly, React, and modern JavaScript.

npx extension create my-extension
cd my-extension
npm run dev

A new browser instance will open up with your extension ready for development.

You are done. Time to hack on your extension!

create-a-new-extension.mp4

Kickstart Any Sample from Chrome Extension Samples

Dive right into development by starting with a sample from the Chrome Extension Samples repository. It’s a great way to get acquainted with best practices and save time:

Open your terminal.
Navigate to the directory where you want your project.
Run the command:
npx extension dev
Replace with the name of the sample you wish to use from Chrome Extension Samples.

See the example below where we request the sample page-redder from Google Chrome Extension Samples.

npx extension dev https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.page-redder –browser=edge

chrome-extension-sample-page-redder-on-edge.mp4

Extension.js supports a variety of browsers, including Microsoft Edge. To start an Edge-compatible extension, simply:

Open your terminal.
Navigate to your desired project directory.
Execute:
npx extension dev –browser=edge
Tailor your command by replacing with the specific sample you’re interested in.

See the example below where we request the sample magic8ball from from Google Chrome Extension Samples using Edge as the runtime browser.

npx extension dev https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/topSites/magic8ball –browser=edge

chrome-extension-sample-magic8ball-on-edge.mp4

Run Mozilla Add-Ons Using Edge

Bridge the gap between Firefox and Edge by running Mozilla Add-Ons using Edge:

Navigate to your project directory.
Use the command:
npx extension dev –browser=edge –polyfill=true
This will fetch a Mozilla Add-On and adapt it for Edge.

See the example below where we request the sample Apply CSS from MDN WebExtensions Examples using Edge as the runtime browser.

npx extension dev https://github.com/mdn/webextensions-examples/tree/main/apply-css –browser=edge –polyfill=true

mdn-webextensions-examples-apply-css-on-edge.mp4

usage-with-an-existing-extension.mp4

If you have an existing extension which is using a package manager, you can install the Extension.js package and manually create the scripts used to run your extension. See the demo above or follow these instructions to get it done:

Step 1 – Install extension as a devDependency

npm install extension –save-dev

Step 2 – Link your npm scripts with the executable Extension.js commands

{
“scripts”: {
“build”: “extension build”,
“dev”: “extension dev”,
“start”: “extension start”
},
“devDependencies”: {
// …other deps,s
“extension”: “latest”
}
}

Done. You are all set!

To develop the extension, run npm run dev.
To visualize the extension in production mode, run npm run start.
To build the extension in production mode, run npm run build.

Using a specific browser for development

☑️=Likely works but no browser runner support yet.

If you want to target a specific browser, just pass the –browser flag to the dev/start command (based on the list available above), like npx extension dev path/to/extension –browser=edge.

Hint
Pass –browser=”all” to load all available browsers at once.

extension dev –browser=all
Screenshot 2024-03-25 at 13 06 15

MIT (c) Cezar Augusto.

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://github.com/cezaraugusto/extension.js

Tags: Createextensionstechnology
Previous Post

Autotab (YC S23) Is Hiring Founding Engineers to Build the Digital Robot

Next Post

Bytecode VMs in Surprising Places

High Five: The rest of the world’s top upcoming qualifiers – The New York Times

October 10, 2025
Donald Trump’s fortress economy is starting to hurt America – The Economist

How Donald Trump’s Fortress Economy Is Starting to Hurt America

October 10, 2025
The Best “Friends” Halloween Episodes That Blend Spooky And Silly In The Perfect Way – Yahoo

The Best “Friends” Halloween Episodes That Blend Spooky And Silly In The Perfect Way – Yahoo

October 10, 2025
Board of Health Meeting – City of Somerville (.gov)

Inside the Latest Somerville Board of Health Meeting: Key Updates and Decisions

October 10, 2025
The Politics Hour: Why a candidate’s text messages are shaking up Virginia’s elections – WAMU

How a Candidate’s Text Messages Are Shaking Up Virginia’s Elections

October 10, 2025
Climate Change Poses ‘Ecological Trap’ for Species Struggling to Adapt – Bioengineer.org

Climate Change Creates a Dangerous Ecological Trap for Struggling Species

October 10, 2025
Science and the heart: Remembering Jane Goodall – American Animal Hospital Association – AAHA

Unlocking the Heart’s Secrets: Celebrating Jane Goodall’s Enduring Legacy

October 10, 2025
Young trucker couple embraces flatbed trucking, balanced lifestyle – Truck News

Young trucker couple embraces flatbed trucking, balanced lifestyle – Truck News

October 10, 2025
China outlines more controls on exports of rare earths and technology – fox40.com

China Unveils Tougher Restrictions on Rare Earth and Technology Exports

October 10, 2025
Midway’s Tate Mason named Week 7 WVLT Sports/5Star Preps Player of the Week – WVLT

Midway’s Tate Mason named Week 7 WVLT Sports/5Star Preps Player of the Week – WVLT

October 9, 2025

Categories

Archives

October 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Sep    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (860)
  • Economy (881)
  • Entertainment (21,754)
  • General (17,511)
  • Health (9,923)
  • Lifestyle (893)
  • News (22,149)
  • People (881)
  • Politics (891)
  • Science (16,091)
  • Sports (21,381)
  • Technology (15,861)
  • World (864)

Recent News

High Five: The rest of the world’s top upcoming qualifiers – The New York Times

October 10, 2025
Donald Trump’s fortress economy is starting to hurt America – The Economist

How Donald Trump’s Fortress Economy Is Starting to Hurt America

October 10, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version