From baeec0ee6b64ab646e4049ec4cf1a8a70cd05b38 Mon Sep 17 00:00:00 2001 From: trych Date: Tue, 22 Nov 2022 14:08:10 +0100 Subject: [PATCH] Initial commit --- .gitignore | 9 +++++ css/faz.scss | 5 +++ css/spiegel.scss | 9 +++++ css/sz.scss | 1 + css/tagesspiegel.scss | 5 +++ css/zeit.scss | 6 ++++ images/icon-128.png | Bin 0 -> 5896 bytes images/icon-16.png | Bin 0 -> 2324 bytes images/icon-32.png | Bin 0 -> 2746 bytes images/icon-48.png | Bin 0 -> 3301 bytes images/icon-64.png | Bin 0 -> 3800 bytes js/faz.js | 7 ++++ js/main.js | 34 +++++++++++++++++++ js/spiegel.js | 11 ++++++ js/sz.js | 10 ++++++ js/tagesspiegel.js | 8 +++++ js/zeit.js | 13 +++++++ manifest.json | 77 ++++++++++++++++++++++++++++++++++++++++++ 18 files changed, 195 insertions(+) create mode 100644 .gitignore create mode 100644 css/faz.scss create mode 100644 css/spiegel.scss create mode 100644 css/sz.scss create mode 100644 css/tagesspiegel.scss create mode 100644 css/zeit.scss create mode 100644 images/icon-128.png create mode 100644 images/icon-16.png create mode 100644 images/icon-32.png create mode 100644 images/icon-48.png create mode 100644 images/icon-64.png create mode 100644 js/faz.js create mode 100644 js/main.js create mode 100644 js/spiegel.js create mode 100644 js/sz.js create mode 100644 js/tagesspiegel.js create mode 100644 js/zeit.js create mode 100644 manifest.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bbc5374 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# System files +# ------------ + +.DS_Store + +# CSS files +# --------------- + +*.css diff --git a/css/faz.scss b/css/faz.scss new file mode 100644 index 0000000..186b7cf --- /dev/null +++ b/css/faz.scss @@ -0,0 +1,5 @@ +.wm-boycott, +section[data-ct-context="dossier-fussball-wm"] +{ + display: none !important; +} diff --git a/css/spiegel.scss b/css/spiegel.scss new file mode 100644 index 0000000..67f390c --- /dev/null +++ b/css/spiegel.scss @@ -0,0 +1,9 @@ +.wm-boycott, +section[data-area="block>widget>WM 2022 Widget"], +div[data-area="block>topic:fußball-wm_in_katar"], +section[data-area="block>topic:fußball-wm_in_katar"], +section[data-area="block>topic:weltmeisterschaft_in_katar"], +div[data-area="block>sportdaten"] +{ + display: none !important; +} diff --git a/css/sz.scss b/css/sz.scss new file mode 100644 index 0000000..24dab7e --- /dev/null +++ b/css/sz.scss @@ -0,0 +1 @@ +.wm-boycott{display:none !important} \ No newline at end of file diff --git a/css/tagesspiegel.scss b/css/tagesspiegel.scss new file mode 100644 index 0000000..b8c9dc0 --- /dev/null +++ b/css/tagesspiegel.scss @@ -0,0 +1,5 @@ +.wm-boycott, +div[data-pym-src^="https://embed.dpa-sportslive.com"] +{ + display: none !important; +} diff --git a/css/zeit.scss b/css/zeit.scss new file mode 100644 index 0000000..9941e67 --- /dev/null +++ b/css/zeit.scss @@ -0,0 +1,6 @@ +.wm-boycott, +section[data-ct-context="dossier-fussball-wm"], +.wm-ticker, +{ + display: none !important; +} diff --git a/images/icon-128.png b/images/icon-128.png new file mode 100644 index 0000000000000000000000000000000000000000..70e31874c0f9efb41d8aede93d8090022eac3478 GIT binary patch literal 5896 zcma)9c|276-#=rC?3F0%G`8HBVQg8(zAq7#eHmsjGD~JKvQ5Q}ELlpDUCB~e60*Ct zsO(DFi4a946`JSJz1@2H{hrtJ$C)|b^ZtC^pZzm)qOFb@ak2@p0RX^hVytfse$%!u z)?MIdizfOp05DhMPS{cGEX>tBh}Lv+W&sdy5I1AvAWm4x;H%mU4;LrK|T>g!Xm7(WTL;H2i70}j7w}Mcc3*jJwGg(g4G8v6bvZ`R!m-A z7AbcEiByx5S5rKCL{45#?uW1i5rgv#`cJ}&N@|KoP+09}X|SCzXbSrOBmbj7YTMG^ zodR3=|Mciz9X+Bi(GPSEj6q??*?%DuJv}Qwq9@K5#K_i0x=<4XJ!N@SWo20;Tz*G( zyKZV$I4aiHP9FyroecIQ3MP*{`oB>7|Ay{Zw*iL{H1VBsyS8d3c(fPR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CP$+eTiN};HNYcrrGKBfsjK=d4sSNk{ zR#6k>s5?B`QR@J|_Si!;K2+Aqd5^S$x^MEI3UR81@tBWJ+FszFs(qh@o3eE-e4c*1 zB^|E6G~E`%Aq!`_9q!B^l+iyFA$das&{kSup|!UgX1cEUsthGdX=!Dt6BCLV#%U^OR~`vJ24{{Cm;doR|u$Jy}TzO@;lmUNN<0DD$A!fz$b(c$wDd*Nl~ z{9_sUaLv^B`xcGc^CJUW2AZA&Vf1E}5t{4m_n4XX%RNt@b~=;SUJi{%yx*q~d54W* zXc&tV(Fv@B3ir&6U>DvrX-qzM$$F11>bcEte*{R*O!SwhMJt;_Mqh2e)P4yU9=)q= UR{lmEd=&>w436pF({(%lKlq>pBme*a literal 0 HcmV?d00001 diff --git a/images/icon-16.png b/images/icon-16.png new file mode 100644 index 0000000000000000000000000000000000000000..552eb6213242151986c4cbafee82c08c303a1d5c GIT binary patch literal 2324 zcma)8c~BE)6kn>fh>8v(wH|d{Dx*WmCP7fv1WFQ+6oV8{p_ZX*_Diz5$%fsHgsZh` zYw@TB8WC^CqtipNj3~9G?T9VjSgX|tiXd8*!3)r~ROz>g1}L@DKQ`gp-|zk2d*3@k zL1MzpVLoGg5Cj>fjngE-?-AnTJqUhIXzwNwkZvxKDB1wdjqTOp1h ziYU94)Gq=8x&RnyixRu@&G#5eQ%Y=Jm`7iKXfiQ8mi}G)xjEkz$cPsDh&mM3N@vK2Z|DI4GrM+9Bmb7)`E(f zkT2`w2-xYKocn|&BK_nA+VBjzi1eew+URtifcnTk&Dw146Av%MEQS~N zqzM0N!KY+f0iFbS*2d{U%wm{VpzH3SH$u$;QUDtGC^5MdR!k-fkxNtLazZL2rcMu* z%A`^cS;tbeA^YFRQ>PJf86*?E*|41`QXu~i-%}t$WV?fct^A)6_1LIchUH*zFo#fA zusx7gtxn`v1I<8;PnxMhwK3{&Swwhvh+HCbamBh3iL@OssTvvk9%k;1*yM>ER=pkm*?>D`=o?{uDq zr@;Fq;Lg6+nu2!jcX0i|J&Jo4DLi;qF|fd<<=~<%4L?`X*GJUJB)B@erH_BNqPQ0 z`XE@nTvhzZcy?OVC)M{qd+XYx$KxwkWyZfSuk!9*%lho5%%-D`Z_Dh-RcW*7RflR1 zUE1Y8Id6Bz`kL7*i+$gn93I$&R*ikX`e??ut{-!bo$x+>{N|AzC7oMy&c@$rc9zm# zwN?B|cm2Fz+37n}`HFsLl<_3ov)(H|~!b{sTYU=uFD93?GycgRk57 zQMxI0S#f(&K>gBRY^JY6rzUr;Q&cn*3{*^r&iCISDKlKY>8w+(I4~m3QGReq+xQ!P z-5Q)9Ot-TF`6F*s;PHTHod?jfs|HKhqP9zOSdfx}webUhUfDqvZ7$SC+i$f$>ToO{F}nT2*?RBay>wp}TrNe@cla&k(YyI4kuf6%Tz71| zv3twzy{5%CH+X%%1eJOX9g|)B!)fM3XU4$YVBm}0rKrC0bkWj%>DaiBBNlP~ts5Mb zEhG063rD9mqDj9=e$`zq*}Uya=b4v=-Y2_MzN*Uf1ZR`ZPjwcfr;R=iku!M`kV_VBmQw>x5^Ro|TX z^}&M-%1M_rybN+O2TvTRD*CWizry)eWcT)HZ<2WY)1W(t8W_!uijlsb&Zw{dbIq6M z{Io&EbuX_?Dlc!l&CFb|u=&RMNzYOIA9+|=Y-d>8{riVkhP7>5U-kJOMMGnGZvJ;! g$bsXIisnc!;dbd!%anjZ@t+xOOoC>Q>g}a}1M}Ha%>V!Z literal 0 HcmV?d00001 diff --git a/images/icon-32.png b/images/icon-32.png new file mode 100644 index 0000000000000000000000000000000000000000..fc8a9b06e5bf21334db82ac67642d0a7ac4b8952 GIT binary patch literal 2746 zcma)8X;>5I7M@@bYD5tcZABdirCKGE1cYWx*a<|827*9v4aq=8lT64Al7Lh;wYVeV zR&eWep|~J*!3FRUxwuQ~((40iu_987;8nDW;QbO5q0~P2$0U67zUMvXd}j&S(iy>a z1HKplL6Ds|BrqI&!{*1fKlr4QlV3oP^-&@snvRxC$CRX&tx%D%INPYz0~~?`K1RJ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zwTaOJyNh_Plxe= zzDpgmv-jmKU%c*Q<^DqTy-^<^)XD=P`ibjiS3xJW3i=6S51-w=ORCv2u9?e>PD@XV z*ebxhc^_krwsH(V{(`t^aBLkYYg2YQye&Rt^HQ3M6HQ6@qE^6|F?zn@9KPcG`SH@Q z(qo7E%o;}TzYjNQEnM29a-Wlb+_;#RHyyFd%sJ&y*mE&}JytL8zIt;HK5jsc2C8*- z>d02>reqoIrSCMYsjlwy>>PSpNiOG~3N!SQ?kc|YyF9qj&;EkvnSc{XuFrcIJIKgd z<)cSTEVSEo^rZVQN>^m{t~Zmn${@nPgyl5~r` z5Lli$4^-k79pvhTEGKKsPq4JKw558Fce|X@HbR`*o_X9UpH~}|#JpV-eVP6n*~=j2 z&6B)RkCDN+BIk%mb(z<*Y2D=v>pMP{mTutq2OT3-RmaHu{Q?{9N*q1=*;nGddn=-4G$HbZ&D63Z~J0*4`dsA=$L7A71 z&-{GjE!gZ5(|eo&W)yEcTy8o$Ix8jK3y0M6t+Js { + const found = node.innerText.match(regex); + + if(found) { + node.classList.add('wm-boycott'); + } + }); + +} diff --git a/js/spiegel.js b/js/spiegel.js new file mode 100644 index 0000000..5d7c655 --- /dev/null +++ b/js/spiegel.js @@ -0,0 +1,11 @@ +const selectors = [ + 'article', + 'div[data-component="SwiperBar"] .swiper-slide', + '.swiper-wrapper .swiper-slide', + 'div[data-area^="block>podlove"]', + 'div[data-component="AudioPlayerPlaceholderOmny"]', + 'div[data-area="block>margin_column_top"] li', + 'div[data-area="block>shortnews:nachrichten_in_kürze"] li' +]; + +searchAndHide(selectors, regex); diff --git a/js/sz.js b/js/sz.js new file mode 100644 index 0000000..f945144 --- /dev/null +++ b/js/sz.js @@ -0,0 +1,10 @@ +const selectors = [ + 'nav li', + '#sz-newspilot .newsscannermodule__item', + '.sz-pilot li', + '.sz-teaserlist-element', + '.mediabanderole__swiper-wrapper .teaser-item', + '.related-links__container .related-links__item' +]; + +searchAndHide(selectors, regex); diff --git a/js/tagesspiegel.js b/js/tagesspiegel.js new file mode 100644 index 0000000..c851ff3 --- /dev/null +++ b/js/tagesspiegel.js @@ -0,0 +1,8 @@ +const selectors = [ + 'article', + 'section', + '#mainMenuPanel li', + 'footer ul li' +] + +searchAndHide(selectors, regex); diff --git a/js/zeit.js b/js/zeit.js new file mode 100644 index 0000000..80707c0 --- /dev/null +++ b/js/zeit.js @@ -0,0 +1,13 @@ +const selectors = [ + '.zon-teaser-lead__kicker', + '.zon-teaser-standard', + '.zon-teaser-wide', + 'section[data-ct-context="headed-sport"] li', + 'section[data-ct-context="newsticker"] .newsteaser', + '.nav__tags a', + '.sticky-nav__list li', + '.newsletter-signup', + '.zon-teaser-kpi-table', +] + +searchAndHide(selectors, regex); diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..06d9859 --- /dev/null +++ b/manifest.json @@ -0,0 +1,77 @@ +{ + "manifest_version": 3, + "name": "WM-Boykott", + "version": "1.0", + "description": "Verbirgt News-Artikel über die Fußballweltmeisterschaft 2022 in Katar auf deutschen News-Websites.", + + "content_scripts": [ + { + "js": [ + "js/main.js", + "js/faz.js" + ], + "css": [ + "css/faz.css" + ], + "matches": [ + "https://*.faz.net/*" + ] + }, + { + "js": [ + "js/main.js", + "js/spiegel.js" + ], + "css": [ + "css/spiegel.css" + ], + "matches": [ + "https://*.spiegel.de/*" + ] + }, + { + "js": [ + "js/main.js", + "js/sz.js" + ], + "css": [ + "css/sz.css" + ], + "matches": [ + "https://*.sueddeutsche.de/*" + ] + }, + { + "js": [ + "js/main.js", + "js/tagesspiegel.js" + ], + "css": [ + "css/tagesspiegel.css" + ], + "matches": [ + "https://*.tagesspiegel.de/*" + ] + }, + { + "js": [ + "js/main.js", + "js/zeit.js" + ], + "css": [ + "css/zeit.css" + ], + "matches": [ + "https://*.zeit.de/*" + ] + } + ], + + "icons": { + "16": "images/icon-16.png", + "32": "images/icon-32.png", + "48": "images/icon-48.png", + "64": "images/icon-64.png", + "128": "images/icon-128.png" + } +} \ No newline at end of file