chevron_left chevron_right
Login Register invert_colors photo_library
Thread Rating:
  • 0 Vote(s) - 0 Average


filter_list (POSSIBLE) HTML Unblock Youtube From School Proxies
Author
Message
(POSSIBLE) HTML Unblock Youtube From School Proxies #1
THIS IS IMPORTANT!!! >>> Please note this works on my schools proxy but i don't know if it will work on yours. <<< THIS IS IMPORTANT!!!!

I coded this ages ago, it changes a normal youtube video link to a privacy enhanced youtube-nocookie version. (youtube-nocookie.com isn't blocked normally by proxies)

Here is script: Don't steal, give creds!

Code:
<div id="data" name="data" style="overflow:auto;width:90%;height:0px;margin-left:0px;border:0px solid #ccc;">
         <style type="text/css">
#tfheader{

}
#page{
float:middle;
padding:20px;
}
#page{


padding:8px 15px;
               background:rgba(50, 50, 50, 0.2);
               border:0px solid #dbdbdb;
width: 500px;

}
}
#button{
float:middle;
padding:20;
}
#outPopUp {
 position: absolute;
 width: 700px;
 height: 700px;
 z-index: 15;
 top: 50%;
 left: 50%;
 margin: -100px 0 0 -150px;
 background: white;
}
#button{

position:relative;
               padding:6px 15px;
               left:-8px;
               border:2px solid #F56200;
               background-color:#F56200;
               color:#fafafa;
 


}

/* Fixes submit button height problem in Firefox */
.button::-moz-focus-inner {
 border: 0;
}
#button{
clear:both;
}
         </style>
         
         </div>















<script type="text/javascript">

   function goToPage() {

// grab page (input box) value to later replace and do work with
var str = document.getElementById("page").value;

// replace the original youtube link with the encrypted one, you could add a try to this to prevent crashes!
   var res = str.replace("https://www.youtube.com/watch?v=", "https://www.youtube-nocookie.com/embed/");
 
 
 
// change page (input box) to result (res)

// THIS IS OPTIONAL =    document.getElementById("page").value = res;



// Navigate the window to the result (res)
// window.location(res)

// Display text will the encrypted video link (you could make this a hyperlink)
   document.getElementById("resultext").innerHTML = res;
document.getElementById("resultext1").innerHTML = res1;

var res1 = "Copy And Paste The Link Above! Thanks For Using My Service :)";
 

  }
</script>


     
   <div style=" display: table; margin: 250 auto;">

 

<input type="text" id="page" value="Video URL (https://www.youtube.com/watch?v=qI6ub0grq7o)">
<input type="submit" id="button" value="View Unblocked Video" onclick="goToPage();">


 
<center><p id="resultext">A VIDEO LINK WILL APPEAR HERE WHEN YOU CLICK VIEW UNBLOCKED VIDEO</p></center>



 
   </div>



   
   
 

If anyone wants to add to this script please reply to this thread. I want to know wether or not this could be improved. Smile
(This post was last modified: 02-12-2018, 11:11 PM by kokiprik.)

Reply

RE: HTML Unblock Youtube From School Proxies #2
I find this funny, as it wouldn't work for me. Fortinet is smarter than that. Especially for the fact that they have youtube blocked via my localhost file.
#yellowheartsforsarah

Reply

RE: HTML Unblock Youtube From School Proxies #3
A lot of schools and work places do have Firewalls/IDS/IPS In place that prevent scripts of this nature from serving their purpose.

Appreciate the contribution.
[Image: AD83g1A.png]

Reply

RE: HTML Unblock Youtube From School Proxies #4
(02-12-2018, 08:48 PM)Synthx Wrote: I find this funny, as it wouldn't work for me. Fortinet is smarter than that. Especially for the fact that they have youtube blocked via my localhost file.

You know theirs two urls right?
youtube.com and youtube-nocookie.com

Any school that uses a school proxy

Also read the post. I clearly said it may not work for your school. Don't hate just cos you can. thnx

Reply

RE: HTML Unblock Youtube From School Proxies #5
(02-12-2018, 09:40 PM)mothered Wrote: A lot of schools and work places do have Firewalls/IDS/IPS In place that prevent scripts of this nature from serving their purpose.

Appreciate the contribution.

Thanks for the comment, ill be sure to work on my script and thnx for telling me and i'll get working on a exploit to stop software from detecting this Smile

Reply

RE: HTML Unblock Youtube From School Proxies #6
Will work with schools that don't actually have managed IT probably other then that its a no go sadly.
[Image: 3ztiqq-2.png]

Reply

RE: (POSSIBLE) HTML Unblock Youtube From School Proxies #7
(02-12-2018, 10:50 PM)kokiprik Wrote:
(02-12-2018, 08:48 PM)Synthx Wrote: I find this funny, as it wouldn't work for me. Fortinet is smarter than that. Especially for the fact that they have youtube blocked via my localhost file.

You know theirs two urls right?
youtube.com and youtube-nocookie.com

Any school that uses a school proxy

Also read the post. I clearly said it may not work for your school. Don't hate just cos you can. thnx

You take things a bit wrong man, I wasn't hating. You really need to learn how to take things differently. Smile
#yellowheartsforsarah

Reply

RE: (POSSIBLE) HTML Unblock Youtube From School Proxies #8
(02-12-2018, 11:14 PM)Synthx Wrote:
(02-12-2018, 10:50 PM)kokiprik Wrote:
(02-12-2018, 08:48 PM)Synthx Wrote: I find this funny, as it wouldn't work for me. Fortinet is smarter than that. Especially for the fact that they have youtube blocked via my localhost file.

You know theirs two urls right?
youtube.com and youtube-nocookie.com

Any school that uses a school proxy

Also read the post. I clearly said it may not work for your school. Don't hate just cos you can. thnx

You take things a bit wrong man, I wasn't hating. You really need to learn how to take things differently. Smile

I've got Aspergers so i misunderstand things. Soz man.

Reply

RE: (POSSIBLE) HTML Unblock Youtube From School Proxies #9
(02-12-2018, 11:16 PM)kokiprik Wrote:
(02-12-2018, 11:14 PM)Synthx Wrote:
(02-12-2018, 10:50 PM)kokiprik Wrote: You know theirs two urls right?
youtube.com and youtube-nocookie.com

Any school that uses a school proxy

Also read the post. I clearly said it may not work for your school. Don't hate just cos you can. thnx

You take things a bit wrong man, I wasn't hating. You really need to learn how to take things differently. Smile

I've got Aspergers so i misunderstand things. Soz man.

It's good man, I didn't know.
#yellowheartsforsarah

Reply

RE: HTML Unblock Youtube From School Proxies #10
(02-12-2018, 10:52 PM)kokiprik Wrote:
(02-12-2018, 09:40 PM)mothered Wrote: A lot of schools and work places do have Firewalls/IDS/IPS In place that prevent scripts of this nature from serving their purpose.

Appreciate the contribution.

Thanks for the comment, ill be sure to work on my script and thnx for telling me and i'll get working on a exploit to stop software from detecting this Smile

You're welcome.

My IDS Is well configured and security rules defined accordingly, so I'll be sure to test It on my network (In a controlled environment).
[Image: AD83g1A.png]

Reply






Users browsing this thread: 1 Guest(s)