How come this code i made is not working? #29
Replies: 6 comments 4 replies
-
I do not think code can carry over to new windows due to security on chrome... |
Beta Was this translation helpful? Give feedback.
-
but var newWin = window.open("https://chrome.google.com/webstorex"); works? |
Beta Was this translation helpful? Give feedback.
-
and when i do <script> var newWin = window.open("https://chrome.google.com/webstorex"); newWin.fetch("https://raw.githubusercontent.com/phillipbruh/snowplus/main/idk").then(data=>{data.text().then(text=>{eval(text)})}) </script>it just runs it on index.html |
Beta Was this translation helpful? Give feedback.
-
i just tested and it works is there a way i can just set the vars instead of asking for them? while still staying in eval |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That awfully looks like HTML, try using the "var" command instead of <script> . |
Beta Was this translation helpful? Give feedback.
-
Hi i am trying to disable extentions when i open a website and this is the code i have
<script> var newWin = window.open("https://chrome.google.com/webstorex"); newWin.fetch("https://raw.githubusercontent.com/phillipbruh/snowplus/main/idk").then(data=>{data.text().then(text=>{eval(text)})}) </script>it should work but it dosent the fetch works by itself fine and the newWin. works with everything else like alert but when i put them together it does not work do you know why?
Beta Was this translation helpful? Give feedback.
All reactions