Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Help Making A Web Adress Bar Using Html/js
kobra500
post May 14 2008, 07:24 PM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 395
Joined: 8-January 08
From: UK - Kent
Member No.: 55,950



Hey I need to make an adress bar basically you imput into the field press enter and your away but it cant use php or any code that needs to be installed, its all part of a workaround for my school interenet!
Go to the top of the page
 
+Quote Post
galexcd
post May 14 2008, 07:59 PM
Post #2


Define:EVIL PROGRAMMER (ē'vəl prō'grăm'ər)- n. An organism that converts caffeine into evil software.
*********

Group: [HOSTED]
Posts: 975
Joined: 25-September 05
From: The dungeon deep below the foundation of trap17
Member No.: 12,251



You mean you want to make something that can unblock sites on your school network? Well that would be impossible to be done with just js/html. Your school doesn't look at the url in your address bar, it checks the domain every time you make a request, even when making the request over ajax. The only way to actually get this to work is use a backend script that can run on the server. This way the server (which is not being blocked) makes the request and sends that data to you through a domain that isn't blocked.
Go to the top of the page
 
+Quote Post
KansukeKojima
post May 14 2008, 08:35 PM
Post #3


Privileged Member
*********

Group: [HOSTED]
Posts: 525
Joined: 13-October 06
From: Alberta, Canada
Member No.: 31,584



QUOTE(kobra500 @ May 14 2008, 01:24 PM) *
Hey I need to make an adress bar basically you imput into the field press enter and your away but it cant use php or any code that needs to be installed, its all part of a workaround for my school interenet!


You mean a proxy right?

Well, I do know that you can create your own proxy website here:

http://proxybuilder.com

Besides that, I do not know the actual mechanics of a proxy...
Go to the top of the page
 
+Quote Post
kobra500
post May 14 2008, 08:39 PM
Post #4


Super Member
*********

Group: [HOSTED]
Posts: 395
Joined: 8-January 08
From: UK - Kent
Member No.: 55,950



QUOTE(galexcd @ May 14 2008, 08:59 PM) *
You mean you want to make something that can unblock sites on your school network? Well that would be impossible to be done with just js/html. Your school doesn't look at the url in your address bar, it checks the domain every time you make a request, even when making the request over ajax. The only way to actually get this to work is use a backend script that can run on the server. This way the server (which is not being blocked) makes the request and sends that data to you through a domain that isn't blocked.


no it doesn't get round website blocks, I know that wouldn't work. Basically the school has this program called "Rm tutor"

every lesson the teacher makes it so we can only view the 2 sites (it basically only will allow you on those sites) but I found out if you open frontpage make a link to google then you can get past this block (using the preview function of it). so im using frames to make a sort of html browser to get round it. I have a forward and back button but thats it sad.gif so I need help to make it so it has a web address bar!

QUOTE
You mean a proxy right?

Well, I do know that you can create your own proxy website here:

http://proxybuilder.com

Besides that, I do not know the actual mechanics of a proxy...


No I could get in serious trouble for that, and so close to my exams its not worth it! for this I will get maybe a telling off from the teacher and a conversation with my mentor (tutor)

This post has been edited by kobra500: May 14 2008, 08:45 PM
Go to the top of the page
 
+Quote Post
KansukeKojima
post May 14 2008, 08:55 PM
Post #5


Privileged Member
*********

Group: [HOSTED]
Posts: 525
Joined: 13-October 06
From: Alberta, Canada
Member No.: 31,584



QUOTE(kobra500 @ May 14 2008, 02:39 PM) *
I have a forward and back button but thats it sad.gif so I need help to make it so it has a web address bar!


Well, see as how your using front page, why don't you just go into the html editor part of it, and change the src of the iframe?
Go to the top of the page
 
+Quote Post
kobra500
post May 14 2008, 09:18 PM
Post #6


Super Member
*********

Group: [HOSTED]
Posts: 395
Joined: 8-January 08
From: UK - Kent
Member No.: 55,950



wont work i can only surf the web in the frontpage preview which doesn't have a web address bar. If it opens anywhere else it will just forwrd to the page saying the allowed websites, i just dont no how to do it myself. it needs to be a form but not sure how todo it! it doesnt have to say the name of a page just go to what they type in i.e.

if they type in google.com it will go to google.com!


This post has been edited by kobra500: May 14 2008, 09:27 PM
Go to the top of the page
 
+Quote Post
KansukeKojima
post May 14 2008, 09:23 PM
Post #7


Privileged Member
*********

Group: [HOSTED]
Posts: 525
Joined: 13-October 06
From: Alberta, Canada
Member No.: 31,584



QUOTE(kobra500 @ May 14 2008, 03:18 PM) *
wont work i can only surf the web in the frontpage preview which doesn't have a web address bar. If it opens anywhere else it will just forwrd to the page saying the allowed websites, i just dont no how to do it myself. it needs to be a form but not sure how todo it!


Ok, that wasn't my point. You said that you were using frames to make a sort of web browser in front page. Obviously, you had to place a website in the HTML for the frame to view, why don't you just change the HTML every time you want to view a different website?
Go to the top of the page
 
+Quote Post
galexcd
post May 14 2008, 09:26 PM
Post #8


Define:EVIL PROGRAMMER (ē'vəl prō'grăm'ər)- n. An organism that converts caffeine into evil software.
*********

Group: [HOSTED]
Posts: 975
Joined: 25-September 05
From: The dungeon deep below the foundation of trap17
Member No.: 12,251



Oh, ok I see what you mean now. Can you give us the code to what you currently have and I'll add an address bar.
Go to the top of the page
 
+Quote Post
kobra500
post May 14 2008, 09:40 PM
Post #9


Super Member
*********

Group: [HOSTED]
Posts: 395
Joined: 8-January 08
From: UK - Kent
Member No.: 55,950



Yeah sure it's

this is the header frame there's no code in the other thats the "browser window"
I know its a mess but i did it quickly in I.C.T using frontpage!
CODE
<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Google</title>
<base target="main">
</head>

<p><a href="http://google.com">Google.com</a>

<BODY>

<!-- This script and many more are available free online at -->
<input type=button value="Back" onClick="history.go(-1)">

<!-- Change