From 9d0a26e97fcd7b10eebdd4a2f1c3c66e489c90f0 Mon Sep 17 00:00:00 2001 From: Harsh Patel <49248313+githarshp@users.noreply.github.com> Date: Sat, 20 Apr 2019 11:49:27 +0530 Subject: [PATCH] osfest-webextension-harshpatel This is the Web Extension that we created whose function is to Borderify the Web Browser --- borderify.js | 1 + manifest.json | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 borderify.js create mode 100644 manifest.json diff --git a/borderify.js b/borderify.js new file mode 100644 index 0000000..06b06b7 --- /dev/null +++ b/borderify.js @@ -0,0 +1 @@ +document.body.style.border = "5px solid red"; \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..4690c44 --- /dev/null +++ b/manifest.json @@ -0,0 +1,20 @@ +{ + + "manifest_version": 2, + "name": "Borderify", + "version": "1.0", + + "description": "Adds a red border to all webpages matching mozilla.org.", + + "icons": { + "48": "icons/border-48.png" + }, + + "content_scripts": [ + { + "matches": ["*://*.mozilla.org/*"], + "js": ["borderify.js"] + } + ] + + } \ No newline at end of file