diff --git a/manifest.json b/manifest.json index 1d00ef7..388a08e 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "manifest_version": 2, "name": "InteractiveFics", "author": "mariamrf", - "version": "5.2.0", + "version": "5.2.1", "description": "Replaces Y/N & other variables in Reader Insert/second person fics with words of your choice.", "browser_action": { "default_title": "InteractiveFics", @@ -34,5 +34,8 @@ "background": { "page": "popup.html" }, - "homepage_url": "https://interactivefics.tumblr.com" + "homepage_url": "https://interactivefics.tumblr.com", + "web_accessible_resources": [ + "toucan-banner.png" + ] } \ No newline at end of file diff --git a/popup.css b/popup.css index 0b16660..acfe6d3 100644 --- a/popup.css +++ b/popup.css @@ -1,10 +1,35 @@ body { background-color: white; color: #2C3531; - width: 270px; - padding:10px; + width: 332px; font-family: 'Rubik', sans-serif; + margin: 0px; } + +#body-without-toucan { + padding:10px; + margin: 8px; +} + +#toucan { + width: 100%; +} + +#toucan a { + text-decoration: none; + font-weight: 800; +} + +#toucan hr { + opacity: 0.3; + +} +#toucan h4 { + margin: 10px; + text-transform: uppercase; + text-align: center; +} + h1 { font-size: 16px; } diff --git a/popup.html b/popup.html index 3a2d589..3032567 100644 --- a/popup.html +++ b/popup.html @@ -2,11 +2,12 @@ - + +

Enter the name here:

@@ -63,5 +64,12 @@
🤖 source code 🤖
+
+
+
+ +

Sponsored by

+
+
\ No newline at end of file diff --git a/popup.js b/popup.js index 5ddeea9..6c073bf 100644 --- a/popup.js +++ b/popup.js @@ -17,6 +17,7 @@ document.addEventListener('DOMContentLoaded', function () { setDeactivateKey() setMutationObserverKey() setPauseDomainKey() + addToucanBanner() }); @@ -233,3 +234,9 @@ const togglePauseDomain = () => { }) }) } + +const addToucanBanner = () => { + const img = document.createElement('img') + img.src = chrome.extension.getURL('toucan-banner.png') + document.getElementById('toucan-link').appendChild(img) +} diff --git a/toucan-banner.png b/toucan-banner.png new file mode 100644 index 0000000..584aaa0 Binary files /dev/null and b/toucan-banner.png differ