├── .gitignore ├── gradle.properties ├── beasts ├── frog.jpg ├── snake.jpg └── turtle.jpg ├── icons ├── beasts-32.png ├── beasts-48.png ├── beasts-32-light.png └── LICENSE ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── popup ├── choose_beast.css ├── choose_beast.html └── src │ └── main │ └── kotlin │ └── popup.kt ├── settings.gradle ├── README.md ├── manifest.json ├── content_script └── src │ └── main │ └── kotlin │ └── content_script.kt ├── gradlew.bat └── gradlew /.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle 2 | /.idea 3 | build -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.incremental.js=false -------------------------------------------------------------------------------- /beasts/frog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/beasts/frog.jpg -------------------------------------------------------------------------------- /beasts/snake.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/beasts/snake.jpg -------------------------------------------------------------------------------- /beasts/turtle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/beasts/turtle.jpg -------------------------------------------------------------------------------- /icons/beasts-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/icons/beasts-32.png -------------------------------------------------------------------------------- /icons/beasts-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/icons/beasts-48.png -------------------------------------------------------------------------------- /icons/beasts-32-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/icons/beasts-32-light.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cypressious/second-firefox-extension-kotlin/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 6 | -------------------------------------------------------------------------------- /icons/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The icon "beasts-32.png" is taken from the IconBeast Lite iconset, and used under the terms of its license (http://www.iconbeast.com/faq/), with a link back to the website: http://www.iconbeast.com/free/. 3 | 4 | The icon "beasts-48.png" is taken from Aha-Soft’s Free Retina iconset, and used under the terms of its license (http://www.aha-soft.com/free-icons/free-retina-icon-set/), with a link back to the website: http://www.aha-soft.com/. 5 | -------------------------------------------------------------------------------- /popup/choose_beast.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | width: 100px; 3 | } 4 | 5 | .hidden { 6 | display: none; 7 | } 8 | 9 | .button { 10 | margin: 3% auto; 11 | padding: 4px; 12 | text-align: center; 13 | font-size: 1.5em; 14 | cursor: pointer; 15 | } 16 | 17 | .beast:hover { 18 | background-color: #CFF2F2; 19 | } 20 | 21 | .beast { 22 | background-color: #E5F2F2; 23 | } 24 | 25 | .reset { 26 | background-color: #FBFBC9; 27 | } 28 | 29 | .reset:hover { 30 | background-color: #EAEA9D; 31 | } 32 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | jcenter() 5 | google() 6 | } 7 | 8 | resolutionStrategy { 9 | eachPlugin { 10 | def plugin = requested.id.id 11 | def module = Config.pluginsResolution.get(plugin) 12 | if (module != null) { 13 | useModule(module) 14 | } else { 15 | // println("No resolutionStrategy for plugin=$plugin") 16 | } 17 | } 18 | } 19 | } 20 | rootProject.name = 'kt-beastify' 21 | include ':popup', ':content_script' 22 | -------------------------------------------------------------------------------- /popup/choose_beast.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 | 10 |Can't beastify this web page.
18 |Try a different page.
19 |