Skip to content

Commit

Permalink
add support for new websites
Browse files Browse the repository at this point in the history
  • Loading branch information
ewsgit committed Jan 9, 2023
1 parent 810d8b6 commit 1944a80
Show file tree
Hide file tree
Showing 20 changed files with 400 additions and 388 deletions.
Binary file modified _metadata/generated_indexed_rulesets/_ruleset1
Binary file not shown.
3 changes: 3 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
chrome.tabs.onUpdated.addListener(() => {
console.log("updated tab");
});
13 changes: 0 additions & 13 deletions core/background.js

This file was deleted.

12 changes: 0 additions & 12 deletions core/background.ts

This file was deleted.

32 changes: 32 additions & 0 deletions csswg.org/drafts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
body {
--bg: #222;
--def-bg: #111;
--defrow-border: #333;
}

.mdn-anno > .mdn-anno-btn > span {
background-color: transparent !important;
}

* {
font-family: roboto, sans-serif !important;
}

.note,
.example,
.def,
.advisement,
.wpt-tests-block {
border-radius: 0.5rem;
}

.wpt-tests-block:not([open]) > summary {
padding: 0.5rem !important;
background-color: #333 !important;
border-radius: 0.5rem;
color: #999;
}

.wpt-tests-block:not([open]) {
min-height: 2rem;
}
218 changes: 218 additions & 0 deletions google.com/all.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
.gb_Ba {
border-radius: 0.5rem !important;
}

.JZFjpd {
border-radius: 1rem !important;
}

.gb_Se button svg,
.gb_A {
border-radius: 0.5rem !important;
}

.uU7dJb {
border-bottom: 0 !important;
padding-bottom: 0 !important;
}

.MV3Tnb,
.gb_d {
display: none !important;
}

iframe[src="https://ogs.google.com/u/0/widget/callout/sid?prid=19001869&pgid=748494848&puid=b9973bdff5742177&dc=1&origin=https%3A%2F%2Fwww.google.com&cn=callout&pid=1&spid=538&hl=en"]
{
visibility: hidden !important;
}

.FPdoLc.lJ9FBc {
display: none !important;
}

.uU7dJb {
display: none !important;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf
> div.RNNXgb {
border-radius: 0.5rem;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb {
border-radius: 0.5rem;
padding-bottom: 0;
margin-top: 0.5rem;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb
> div.lJ9FBc
> center {
display: none;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb
> div.xtSCL {
display: none;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb
> div.lJ9FBc {
display: none;
}

body > div.L3eUgb > div.o3j99.LLD4me.yr19Zb.LS8OJ {
min-height: none;
max-height: none;
height: max-content;
}

body > div.L3eUgb {
display: grid;
place-items: center;
grid-template-rows: 1fr 1fr;
height: 100vh;
width: 100%;
position: relative;
}

body > div.L3eUgb > div.o3j99.n1xJcf.Ne6nSd {
width: 100%;
position: absolute;
top: 0;
left: 0;
}

#gb > div > div:nth-child(1) {
display: none;
}

body > div.L3eUgb > div.o3j99.c93Gbe {
display: none;
}

body > div.L3eUgb > div.o3j99.LLD4me.yr19Zb.LS8OJ {
place-self: flex-end center;
}

body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf {
place-self: flex-start center;
min-width: 50%;
}

#sbfblt {
display: none;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb {
transition: all 250ms ease-in-out;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb {
opacity: 0;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav.sbfc
> div.UUbT9
> div.aajZCb {
opacity: 1;
}

#gbwa > div > a {
border-radius: 0.5rem;
}

#gb > div > div.gb_Ve > div.gb_b.gb_kd.gb_pg.gb_o.gb_Ef > div > a > img {
border-radius: 0.5rem;
}

#gb > div > div.gb_Ve > div.gb_b.gb_kd.gb_pg.gb_o.gb_Ef > div > a {
border-radius: calc(0.5rem + 4px);
}

#tsf > div:nth-child(1) > div.A8SBwf > div.RNNXgb {
border-radius: 0.5rem;
}

#rcnt {
max-width: 100vw;
}

#res {
max-width: 100%;
}

#main {
max-width: 100vw;
min-width: 0;
}

#searchform {
min-width: 0;
max-width: 100vw;
}

body
> div.L3eUgb
> div.o3j99.ikrT4e.om7nvf
> form
> div:nth-child(1)
> div.A8SBwf.emcav
> div.UUbT9
> div.aajZCb
> div.mkHrUc
> div.erkvQe {
padding-bottom: 0;
}
57 changes: 0 additions & 57 deletions google.com/index.css

This file was deleted.

5 changes: 5 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"typeAcquisition": {
"include": ["chrome"]
}
}
7 changes: 7 additions & 0 deletions manchesterworld.uk/all.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
body > div.tp-modal {
display: none;
}

body > div.tp-backdrop.tp-active {
display: none;
}
Loading

0 comments on commit 1944a80

Please sign in to comment.