From 77dcfeebb7e5fa60809c070c11b9f77e6f7added Mon Sep 17 00:00:00 2001 From: Koushik Date: Sun, 25 Oct 2020 17:07:16 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20Jio-Saavn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jio music.png | Bin 0 -> 4516 bytes README.md | 22 ++++++++++++-- bg.js | 11 +++++++ dark.css | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ manifest.json | 19 ++++++++++++ 5 files changed, 132 insertions(+), 2 deletions(-) create mode 100644 Jio music.png create mode 100644 bg.js create mode 100644 dark.css create mode 100644 manifest.json diff --git a/Jio music.png b/Jio music.png new file mode 100644 index 0000000000000000000000000000000000000000..5d19c396065e93d06c652bd6f3409c7b0be72dcf GIT binary patch literal 4516 zcmbVPc{r49+n-@Z4B4Nk$PgjSjCBlSj4eyZmLH`Sp1<>Vo!7Y>$9<(cIa=?8?12CP zfStBBmM*+Eb886-@Sg1$To3OBq`6p|1FHMvW_W@S#m0*U0El*ME#L(W(Y-v+i?)_# zZj6$-OEEbHM0-RHP_>Rf} z{~?{T|2dMX2BxMl&k712RW1jqi`zhjl*jSN@k=qf_8c6_sCeshDhZgPh*E+Cac77Cx?Q)|$)17NI$IPcYf-{e#Pm#>0e(eeRtS(40t zXTDFU|D(~|n+1TpPqsXR*sYgq){d1543SON9_XBcT-JXpu}h$WN{d0>;~4cD{1EVy zkg^R>G84JPfSQ#kJD=~cI^Sp`{+m&RWQVNE0s0%BX}64&k+vkyP-OE|<&a6?l=BoX zM%9joAy*{n0p{+W=p5+T%92JKNfkwnDktp-&4XT#?MgLeJHk36>jA8XL0&>B#@6mO ziJn-vyUS~GiRHMjs)nvD8akz<)clXrjy;I9k&Lhkz{!r9@TWH7V#?>9ykNXbe``rI z9Q>ZE?A};+c1AMUs{E4GLWqd2i*9u}psfw+_&Q5nFLe-0eKVgMUEr887+`hbd1h@Q zVQ6fxE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R8X%xi{{;2v?#h~vrc7b--Po3XKX)h|5IixnR&Ck2d!Pa2?A zmv@9;ZJO$Or6s1)T$zgG&}f?JjE1 zBVez8?@iazykNX#p~yV>!ES2yELoEeTiS`iRClQX8F*;TnP&6bHEtrhPYljqDw>H3-=Hm3j0 z(Q7Pq{6(X|Dcy=iW6~9u7~WMx#X4C*Z9V>8gkts{g9T)1hZ?XEs^k)PI986CO*5tu zKLoi?huxpMX5qv~X+_>Om6Qmb*M+@OoVxDKGITH#;(%iX{HE$VdgM=!7QTtGEee?B zeEGxa;YiAVd8>K<8y~aef$QjK@eo?H7!n=F&?3?H^B5q|Z4OHUEsz>Yp@))5&@E0}06CIwqN)mk z{zYv@r&B`%ezB8iFx<8#a?1tAJ2V`Jr@^&hh^?@oQ1nl{kr|%0CH~yRl@PHl{FK5& zw|Ao8s5F9G4258#>O!EABdLLeZH6tUzep^o1RR}!$LJt*5L(&@Egd~H{69=vd;H76 zib1!W6|)f?1qQ_Ov<+KS5|&`{7l(T z;NQyf-=*3h^W(vq*XfnTk0~j--WzhCwYtcts^pPY?*` zE%5)Cc|Ecn>HjMlUK9UY*ZhixfusDbUwAO1?K+dGZe(&e#sWu*!lB{+ss3L>`57H= m40r { + if (changeInfo.status === "loading") { + if (tab.url === "https://www.jiosaavn.com/") { + chrome.tabs.insertCSS(tabId, { + file: "dark.css" + }, () => { + console.log("Inserted"); + }) + } + } +}) \ No newline at end of file diff --git a/dark.css b/dark.css new file mode 100644 index 0000000..585bc5c --- /dev/null +++ b/dark.css @@ -0,0 +1,82 @@ +:root { + --bg: #2a2d36!important; + --text: #e9e9e9!important; + } +body{ + background: var(--bg) +} +.u-color-js-gray{ + color: white!important; +} +div.o-block__body h4 a{ + color: white!important; + +} +a.u-color-js-gray:hover{ + + color: white!important; +} +header.c-header{ + background: var(--bg) +} +h2.u-h4{ + color: var(--text) +} +a.u-ellipsis{ + color: var(--text) + +} +a.c-nav__link{ + color: var(--text) +} +#root > div.home > div.u-4\/5-min-vh{ + background: var(--bg); +} +aside.c-aside.c-aside--fixed{ + background: var(--bg); +} +aside.c-aside.c-aside--flyout{ + background: var(--bg); + color: var(--text); +} +ol[data-rbd-droppable-id=sidebar-queue] li{ + background: var(--bg); + color: var(--text); +} +aside.c-aside.c-aside--fixed > nav > ul >li span.u-color-js-gray{ + color: var(--text); +} +span.o-list-block__item.u-color-js-gray{ + color: var(--text)!important; +} +#root > div.home.banner > aside.c-player > div.c-player__panel > figure > figcaption > h4 > a { + color: var(--text); +} +span.c-nav__link{ + color: var(--text) +} +div.c-dropdown__header{ + color: var(--text) + +} +a.c-logo>svg{ + fill: var(--text) +} +span.c-dropdown__type{ + color: var(--text) +} +aside.c-player{ + background: var(--bg); + color: var(--text); +} +div.c-player__panel{ + background: var(--bg); + color: var(--text); +} +div.c-player__panel ul{ + background: var(--bg); + color: var(--text); +} +figure.c-player__current figcaption h4 a.u-color-js-gray{ + color: white!important; +} \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..55c2a82 --- /dev/null +++ b/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "Jio Music Dark", + "description": "Convert the Jio music to dark theme", + "version": "1.0", + "manifest_version": 2, + "icons": { + "128": "Jio music.png" + }, + "background": { + "scripts": [ + "bg.js" + ], + "persistent": false + }, + "permissions": [ + "https://www.jiosaavn.com/", + "tabs" + ] +} \ No newline at end of file