From 70bae7117b0ab773756e456e956966a217728691 Mon Sep 17 00:00:00 2001 From: akshbansal61203 <123982568+akshbansal61203@users.noreply.github.com> Date: Thu, 16 May 2024 02:13:10 +0530 Subject: [PATCH] Fixes #174:Added a celebrity icon extension --- Celebrity/Content.js | 18 ++++++++++++++++++ Celebrity/manifest.json | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 Celebrity/Content.js create mode 100644 Celebrity/manifest.json diff --git a/Celebrity/Content.js b/Celebrity/Content.js new file mode 100644 index 00000000..2a34ee50 --- /dev/null +++ b/Celebrity/Content.js @@ -0,0 +1,18 @@ +let JimCarryImages=[ + "https://wallpapers.com/images/high/jim-carrey-funny-expression-a9mv7pm39mr6oi70.webp", + "https://cdn.mos.cms.futurecdn.net/xMKqQKvNAXqDcmD7HFcPjG-1200-80.jpg.webp", + "https://wallpapers.com/images/high/jim-carrey-funny-expression-a9mv7pm39mr6oi70.webp", + "https://en.wikipedia.org/wiki/File:Jim_Carrey_2008.jpg", + "https://www.hola.com/us/images/0257-0e19a95a8fd9-f1eeab240137-1000/vertical-1150/jim-carrey-divertidas-caras03.jpg", + "https://www.hola.com/us/images/0257-0e19a95a8fdb-275908c9437b-1000/vertical-1150/jim-carrey-divertidas-caras07.jpg", + "https://www.hola.com/us/images/0257-0e19a95a8fdc-b66e2bcb03ab-1000/vertical-1150/jim-carrey-divertidas-caras08.jpg", + "https://www.onthisday.com/images/people/jim-carrey.jpg?w=360" + + +]; +//to replace web images with JimCarry images +const imgs=document.getElementsByTagName("img"); +for(let i=0;i"], + "js":["Content.js"] + } + ] +} \ No newline at end of file