Share your repls and programming experiences

← Back to all posts
NOVA_HAVEN Unblocker
h
AdCharity (174)

:(

This project will no longer be maintained and used due to complaints by the school and me not willing to make Nova Haven a reddit unblocker. DrivePortII and Nova Haven deployed to heroku will continue to run, as they are somewhat more limited in capabilities.

Commentshotnewtop
Kognise (352)

This is actually awesome! Using a blank PDF as a callback and a bookmarklet for the key is super smart. Keep going :)

AdCharity (174)

@Kognise thanks :) I was trying really hard just in case the admins visited it

theangryepicbanana (1141)

This seems pretty cool (use it for educational purposes only ;) ). In the future, pls make sure your description has language appropriate for everyone (even if it is for you, it isn't for everybody)

AdCharity (174)

@theangryepicbanana sorry! I'll edit the description.

AdCharity (174)

@theangryepicbanana also all of the methods don't really unblock games like krunker (at least for securly, which is what my school has).

AdCharity (174)

@theangryepicbanana I've never checked :/ I'm hoping people don't reduce my work to a cool math game unblocker

AdCharity (174)

@theangryepicbanana Plus that's like saying there are games on repl.it

theangryepicbanana (1141)

@AdCharity ya I'm not planning to just use it for coolmath, I was just curious

nithilan4 (62)

@AdCharity have you guys figured out browsers on the chrome web store? they unblock every securly blocked thing since securly is a chrome extension.

AdCharity (174)

@nithilan4 I know. ( leaf) but my admin blocked the chrome web store for me so I made something to bypass it

TaylorLiang (122)

Thank you oh great lord/savior, as now, r/dankmemes is once again available to me

Foster_Bryant (3)

@TaylorLiang minecraft fortnite keanu reeves lol 69 nice

AdCharity (174)

@TaylorLiang look at this project if you want reddit https://scraper.nithilan4.repl.co/
Not made by me obviously, but mor dank

12608335 (17)
	https://novahaven.herokuapp.com/

i found this in the files. Im not sure if it is the correct link but it does work. Thanks!

12608335 (17)

I also found something else i wasnt looking for

AdCharity (174)

@12608335 students have urges you see

AdCharity (174)

@12608335 Also the heroku app is just the node unblocker - there's a lot more.

AdCharity (174)

@AdCharity
Book mark this script in your browser, click on it, and click on the real link. That will work a lot better for you.
javascript:(function() {window.localStorage.setItem('accessLevel', 'novaHaven');})();

12608335 (17)

I guess you are right lmao

PrestonJesiek (1)

The link in the getting started section is dead

roadkillsanta (0)

How did you do this? I am working on modifying node-unblocker as an app in express js on repl.it, but it isn't working properly and it gives too many redirects.

AdCharity (174)

@roadkillsanta mmm. the node unblocker isn't mine (pretty sure I explicitly sourced Nathan F. or something). Plus all I did was deploy it to heroku. An easy node unblocker could probably be
1) a proxy
2) something real simple like this:

const axios = require('axios');
const cheerio = require('cheerio');
var http = require('http');
var url = "https://bing.com";
axios.get(url)
	.then(response => {
		console.log(response.data);
		http.createServer(function (req, res) {
		res.write(response.data);
		}).listen(8000);
		console.log("Completion");
	})
	.catch(error => {
		console.log(error);
	})
roadkillsanta (0)

@AdCharity The node unblocker is from nathan, but he didn't include much documentation on how it worked (app-wise). The heroku deploy works out-of-the-box because it uses a gatlin server, but I'm not sure how to implement that in repl because it isn't a complete container solution. Thanks for the code example and libraries, I think I understand how express works now.

AdCharity (174)

@roadkillsanta yeah good luck programming :D

roadkillsanta (0)

@AdCharity yo do you have a discord or something that I can contact you with? I need some help with processing streams if you understand how they work in respect to writing them to res. I'm having trouble getting the proxy to render images and css.

AdCharity (174)

@roadkillsanta :( my school blocks discord even tho I'm in highschool. I think you could fix the images/css problem by replacing all links with input link (the one you wanted to unblock) + src. Idk if that would help tho since I haven't really tried doing it myself.

roadkillsanta (0)

@AdCharity thats an f in the chat for no discord :(
I used a library from the original node-unblocker to change all the links, but I need to implement read and write streams to get the CSS and images loaded. I'll just try different solutions and go on stackOverflow if I really can't fix the problem. Thanks for the help.

AdCharity (174)

@roadkillsanta yeah sorry :/ node.js really ain't my forte even though I program in web javascript literally every day

AdCharity (174)

Okay. Just fyi. I will be attempting to log data/websites accessed through nova haven soon, so don't start looking up really messed up stuff or I will have to take this project down.

Foster_Bryant (3)

WHere do we write it? Lol

AdCharity (174)

@Foster_Bryant Write what? If it's the access key, look up bookmarklet (and then you'll know how to do it).

amasad (1741)

Pretty cool! But I think the usage documentation needs to be a lot simpler

AdCharity (174)

@amasad Yeah. It's kind of self explanatory, so a lot of the wording is how the stuff got implemented in the first place. I mean I could just delete everything and say, "It's like a search engine so just type a full url", but I invested too much time :/ Thanks!

LoneFennecFox (0)

I found the key, but how do I use it?

AdCharity (174)

@LoneFennecFox It is called a "bookmarklet". By bookmarking that entire script, you have full access to NovaHaven. I would research the concept before you book mark the script, so you know the overall capabilities.

LoneFennecFox (0)

I don't know how to bookmark the script. @AdCharity

AdCharity (174)

@LoneFennecFox look up bookmarklet. Also, all you need to do is left click the book mark bar, add page, label the script, and copy and paste the js into the bookmark.

TaylorLiang (122)

It says to enter in the full URL, when i did

TaylorLiang (122)

I get "Oops! There was a problem previewing the document"

AdCharity (174)

@TaylorLiang :/ There is an access key