-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord and other sits failing to load #162
Comments
Also i cant watch youtube videos or sign up for some sites |
YouTube is a known issue, see #103, as is Instagram (#149). I didn't know about Discord, but I'm not surprised. Signup forms are hit-and-miss. If it's just a basic signup form, it should work, but if it's trying to do something fancy like bot detection, then it's less likely to be compatible. I edited the readme to call out a few of these by name. Unfortunately, I can't make a commitment to making any of these sites work. If you or someone else wants to work on compatibility patches, you're welcome to. YouTube in particular might be a good one to start with, because there are other tools designed to work with it already. |
Question i dont know how to code and also uh what tools are already
compatible with youtube also discord wont load thats the problem
|
For learning to code, I think that's beyond the scope of what I can help with here. For tools, youtube-dl is probably the most popular one, although I know there are browser plugins that can add a download button or force it to 4k or whatever. Those would probably be a more sensible starting point. |
Also how do i install it on my website
|
Im part of kurokuapp so you can add me as a collaborator on it my email is
[email protected]
|
There are instructions at https://github.com/nfriedly/nodeunblocker.com#nodeunblockercom but I'm afraid I can't provide much support beyond that right now.
I'm not sure what kurokuapp is, but just click the Fork button on the upper right, and it will give you your own copy of the code that you can work on. |
Sorry i meant herokuapp
|
Aaah, ok, I'm not. I used to be, but they shut me down. They said the proxy wasn't against their TOS, but that I wasn't allowed to host it there because mine got too much traffic. Or something like that, I don't remember exactly, it was years ago. |
Well do you host it elsewhere then?
|
No, I don't host it at all anymore. I gave up. I just made the code free so that other people could host their own copies of it. |
Do you know how to make it look different the Node Unblocker
|
Edit your copy of public/index.html |
Could you maybe do the youtube thing please i am on mobile and ill do
anything for you to do it for me
|
I'll take a look, but no promises. |
Thank you very much
|
Ok, I added a quick example that replaces youtube.com video pages with a custom page that just has the video and it's description. It's kid of ugly, but it actually works I'm calling it a win :) I also updated the nodeunblocker.com code to enable it by default. |
Oh okay so i just run it and it should work
|
Yep
… |
I put youtube and it says invalid responce
|
Hum.. was anything logged to the console? I think the homepage of youtube.com might still be broken because it messes with the URL via pushState or something, but if you give it a link directly to a video page, like https://www.youtube.com/watch?v=dQw4w9WgXcQ then it should work. |
Still not
|
What hosting platform do you use to host your website
|
My personal website is just static html pages hosted on github pages. Back when I had a proxy online, I hosted it at tons of different providers: heroku, dreamhost, AWS, an old desktop computer set up in the kitchen, etc. It is, at least theoretically, compatible with any hosting provider that can handle node.js. But honestly, the "old computer somewhere in your house" isn't a terrible plan for something like this if you just want it for yourself. Open up port forwarding in your router and get a free subdomain from no-ip.com and it might be good enough. It kind of depends on if you want this for just yourself, or if you want to share it with other people. But, if you share it with anyone, it will probably eventually get shared with a lot of people. At one point, I had a ton of traffic from Turkey and Iran going through my proxy. So just be willing to accept or deal with that. |
Youtube is working now also do you think we could fix discord next
|
Not likely; having to log in makes it a lot more work.
… |
Oh dang
|
Well then im sad now hmm what do you mean by it would be alot of work i
would gladly help
|
Well, first you have to figure out what exactly is broken. You could use the network tab in the browser's developer tools to see what requests are not going through the proxy, that will identify a lot of issues. They're likely going to be things originating in JavaScript. Unblocker rewrites HTML but it currently doesn't mess with JavaScript. However a site like YouTube or discord is very heavy on JavaScript. I don't really have a solid plan of attack yet for how to make JavaScript heavy sites work properly in unblocker. So, you'd have to figure out what JavaScript API is triggering the broken request, or letting the site know that it's not on the domain it wants to be on. then you have to come up with a work around for that. There's a branch where I inject some code to replace the global WebSocket API with a wrapper that fixes up URLs to go through the proxy, but I am fairly sure it doesn't work for every case, so I haven't merged it in yet. There are other APIs that could also be wrapped: fetch, XMLHttpRequest, history, location, open, postMessage and probably a dozen others I'm not thinking of. Each of those likely has a number of edge cases that would have to be dealt with. A service worker might be able to replace a handful of those, but I haven't looked into it much. I'd really prefer to see general purpose fixes that work for all websites using a given API. My YouTube fix was just a one-off hack that won't work for any website other than YouTube. And it's not so much fixing YouTube as replacing it. |
Whats the code for the api thing ill merge it into my copy of
nodeunblocker.com so i can test to see if discord will work
|
This is the websocket code that I wrote: 7c44200 And this is where I implemented it for nodeunblocker.com: nfriedly/nodeunblocker.com@7d7cfea |
Wait Cant we just use the get command to get discord to work
|
Like HTTP GET? Apparently not, that's part of what the proxy does. |
Idk on this api discord thing on github someone said try Get then
Https://discord.com
|
Node unblocked seems to have problems with any Oauth things
|
Okay so itll be on your site?
|
Whats demo/instance mean sorry i dont really know what that means
|
Hi i looked at your profile and where is your email to contact you at im 13 and i need friends also i want to know people that know how to code im learning .js .json .html php and css |
It means I will setup a publicly accessible node-unblocker instance that I will allow people to use and I'll keep it up to date with the main GitHub repo it won't be officiall unless @nfriedly wants it to be ( |
@z3r0n3t where do i contact you at |
@z3r0n3t your profile says “ I am a self taught programmer, Linux neck beard, web dev and FOSS enthusiast. I hope to someday work at a large tech Corp (not Google, Facebook, or Twitter ) and eventualy start my own. |
Can you make the stuff you added on nfriedly/nodeunblocker.com |
I already did. Most things get picked up automatically because it depends on the latest version: But the youtube hack required a bit of configuration, which I did here: nfriedly/nodeunblocker.com@5355bbf (and a couple of tweaks in subsequent commits) |
okie :3 |
I put out a couple of updates, so youtube should behave a little better now. |
@easella Can you get to the developer console to see what errors get logged? (Click the three-dot menu at the top-right, then click More Tools > Developer Tools, then go to the Console tab, then copy and paste everything there into a comment here. I may end up needing some details from the Network tab also, not sure...) |
here is one that is compatible with discord:click here |
Chrome is blocking ads on this site because this site tends to show ads that interrupt, distract, mislead, or prevent user control. You should fix the issues as soon as possible and submit your site for another review. Learn more at https://www.chromestatus.com/feature/5738264052891648 log_event?alt=json&key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 | (blocked:other) | xhr | main.js?attr=n-x6CuZyV0f_FBqq-sCv_1EwMqCUAw-527BM8EjUNy_eHhoqlbRrfO2BDdDDZQ…WCaq_JCwGRRsVaKO_aYPYymEnSLNqvnquM63Fijfmxtd1CuhqvNIhRJGziMEYWFnuE7HE:2510 | 0 B | 6 ms og_event?alt=json&key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 | (blocked:other) | xhr | main.js?attr=n-x6CuZyV0f_FBqq-sCv_1EwMqCUAw-527BM8EjUNy_eHhoqlbRrfO2BDdDDZQ…WCaq_JCwGRRsVaKO_aYPYymEnSLNqvnquM63Fijfmxtd1CuhqvNIhRJGziMEYWFnuE7HE:2510 | 0 B | 6 ms log_event?alt=json&key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 | (blocked:other) | xhr | main.js?attr=n-x6CuZyV0f_FBqq-sCv_1EwMqCUAw-527BM8EjUNy_eHhoqlbRrfO2BDdDDZQ…WCaq_JCwGRRsVaKO_aYPYymEnSLNqvnquM63Fijfmxtd1CuhqvNIhRJGziMEYWFnuE7HE:2510 | 0 B | 6 ms og_event?alt=json&key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 | (blocked:other) | xhr | main.js?attr=n-x6CuZyV0f_FBqq-sCv_1EwMqCUAw-527BM8EjUNy_eHhoqlbRrfO2BDdDDZQ…WCaq_JCwGRRsVaKO_aYPYymEnSLNqvnquM63Fijfmxtd1CuhqvNIhRJGziMEYWFnuE7HE:2510 | 0 B | 6 ms og_event?alt=json&key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 | (blocked:other) | xhr | main.js?attr=n-x6CuZyV0f_FBqq-sCv_1EwMqCUAw-527BM8EjUNy_eHhoqlbRrfO2BDdDDZQ…WCaq_JCwGRRsVaKO_aYPYymEnSLNqvnquM63Fijfmxtd1CuhqvNIhRJGziMEYWFnuE7HE:2510 | 0 B | 6 ms |
pydodge works with youtube. http://maple-butter.herokuapp.com/course/https://youtube.com |
hey irhrhd if you want to learn how to code try w3schools. |
@easella w3schools sucks. your website is kinda ugly make a repo so others can contribute |
Hey can you fix this please when i try to use it it fails to load discord and just keep glitching a white screen also same for Instagram
The text was updated successfully, but these errors were encountered: