← Desenvolvimento

Script Redirecionamento!

Lida 4771 vezes

Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

Citação de: "Bejinho"
Não há simplesmente um script que faça o que faz o clique do rato??


Isso, no fundo é o redireccionador...
Offline

Bejinho 
Membro
Mensagens 438 Gostos 0
Troféus totais: 24
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts 50 Posts

Citação de: "fpware"
Citação de: "Bejinho"
Não há simplesmente um script que faça o que faz o clique do rato??


Isso, no fundo é o redireccionador...
Mas não estou a crackar nd ou seja mostro na mesma a pub do web.pt mas depois de clicar passa para outro assunto...Acho eu... O que eu não quero é ter la em cima a dizer web.pt e nao aparecer pub, ou seja nao queria hackear o web, queria que ele salta-se para o gratishost
Offline

Spread 
Membro
Mensagens 1433 Gostos 2
Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

Código: [Seleccione]
<html>
<head>
<title>Porra do script</title>
<script language="javascript">
<!--
function open_new_window(url)
{
new_window = window.open(url,'window_name','toolbar=1,menubar=1,resizable=1,dependent=1,status=0,width=100%,height=100%,left=0,top=0')
}
// New window attributes
// url - the variable for the url of the page in the new window
// that is passed by placing it single-quoted in either the link or form
// window_name - the name of the new window being opened
// width - width of the new window in pixels
// height - height of the new window in pixels
// top - the new widow top will appear xx number of pixels from the top of the screen
// left - the new widow left margin will appear xx number of pixels from the left of the screen

// The following attributes will suppress the respective window elements
// when the value is set to zero or if omitted. When listed or equal to one
// the window attribute will appear
// toolbar,menubar,resizable,dependent,status
// -->
</script>
</head>
<body><meta http-equiv=Refresh content=0;url=javascript:open_new_window('http://www.infonet.gratishost.com');>
Se o seu browser impediu a abertura automática do site click <a href="http://www.infonet.gratishost.com" taget=_blank>aqui</a>.
</body>
</html>
Agora só tens que optimizar o script, aprender um pouco de javascript.

Cumps 8)
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

Se tiveres um link, a seguir, podes quebrar as frames. Se queres cumprir, não podes fazê-lo de outra maneira, um link automáticamente clicado, também seria uma fuga às regras.
Offline

Bejinho 
Membro
Mensagens 438 Gostos 0
Troféus totais: 24
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts 50 Posts

Spread e fpware -> Thank´s...Vou ver o que csg fazer...Que porcaria a pub...