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
- JDK 8
- node.js
npm install --global web-ext
./gradlew runDceKotlinJs --continuous
In a separate terminal
web-ext run
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.