Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


(POSSIBLE) HTML Unblock Youtube From School Proxies filter_list
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





Messages In This Thread
(POSSIBLE) HTML Unblock Youtube From School Proxies - by kokiprik - 02-12-2018, 07:55 PM



Users browsing this thread: 2 Guest(s)