diff --git a/script.js b/script.js index d04a9c1..384a952 100644 --- a/script.js +++ b/script.js @@ -45,9 +45,9 @@ const tweets = const profileNode = "span.css-901oao.css-16my406.r-xoduu5.r-18u37iz.r-1q142lx.r-poiln3.r-adyw6z.r-135wba7.r-bcqeeo.r-qvutc0"; -const search = "form > * > * > * > * > * > * > * > * > * > * > * > * > div.css-901oao.r-18jsvk2.r-xoduu5.r-18u37iz.r-1q142lx.r-37j5jr.r-a023e6.r-16dba41.r-rjixqe.r-bcqeeo.r-qvutc0"; -const chat = "#layers > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > div.css-901oao.r-18jsvk2.r-xoduu5.r-18u37iz.r-1q142lx.r-37j5jr.r-a023e6.r-16dba41.r-rjixqe.r-bcqeeo.r-qvutc0" -const youMightLike = "div > aside > div:nth-child(2) > * > * >* > * > * > * > * > a > div > div.css-901oao.r-18jsvk2.r-xoduu5.r-18u37iz.r-1q142lx.r-37j5jr.r-a023e6.r-16dba41.r-rjixqe.r-bcqeeo.r-qvutc0" +const search = `form > * > * > * > * > * > * > * > * > * > * > * > * > ${tweets}`; +const chat = `#layers > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > ${tweets}`; +const youMightLike = `div > aside > div:nth-child(2) > * > * >* > * > * > * > * > a > div > ${tweets}`; async function main() { const observer = new MutationObserver(function (mutations, observer) {