Skip to content
Kotlin HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
beasts
buildSrc
content_script/src/main/kotlin
gradle/wrapper
icons
popup
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
manifest.json
settings.gradle

README.md

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.

You can’t perform that action at this time.