Skip to content

cypressious/second-firefox-extension-kotlin

Repository files navigation

This is a port of the "Your second WebExtension" for Firefox to Kotlin.

Blog post: https://medium.com/@Cypressious/your-second-firefox-extension-in-kotlin-bafd91d87c41

Requirements

  • JDK 8
  • node.js
  • npm install --global web-ext

Build instructions

./gradlew runDceKotlinJs --continuous

In a separate terminal

web-ext run

Working in an IDE

Open IntelliJ IDEA and import the project as a Gradle project.

Create a run configuration for the Gradle task runDceKotlinJs with the arguments --continuous. Execute the run configuration for continuous building of the Kotlin code.

Run web-ext run in a terminal to launch a Firefox instance with the extension installed.