Skip to content

cypressious/second-firefox-extension-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29ad0af · Nov 9, 2018

History

16 Commits
Nov 19, 2017
Nov 9, 2018
Dec 4, 2017
Nov 9, 2018
Nov 19, 2017
Nov 9, 2018
Nov 19, 2017
Dec 4, 2017
Nov 9, 2018
Nov 19, 2017
Nov 9, 2018
Nov 19, 2017
Nov 19, 2017
Nov 9, 2018

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.