Page 1 of 1

Little extension redirect to other url & display a compt

Posted: Sun Jan 04, 2009 5:36 pm
by mathieu_bond
Hi there is just 2 little extension but which can be useful
* redirect to other url after time : you set the time in ms and a url and after the time is finish, the navigator switch automaticly to the url specify, you can download here http://www.mathieuweb.fr/google/redirection.zip

* display a compt down , you enter the date you want and this extension display the time which is remaining until this date, you can download here http://www.mathieuweb.fr/google/comptdown.zip

You can see the result in preview mode :wink:

i will like we can share too many little extension which can make win little time :idea: :D

Posted: Sun Jan 04, 2009 5:46 pm
by zinc
Thanks for this one I was just looking for something like this. Well done and thank you!!!

Posted: Sun Jan 04, 2009 5:52 pm
by mathieu_bond
if you have other little tool like this that you can share, this can be much useful :wink:

Posted: Sun Jan 04, 2009 5:58 pm
by me.prosenjeet
Great Job!!!!
Thanks a ton :lol:

Posted: Mon Jan 05, 2009 6:03 pm
by mathieu_bond
HI, i was do little cahnge in this extension comptdown tell me now if this work correctly, i was have too options witch allow cahnge color, font, and choose if you want display all ( hour, min, day ,sec) :wink:

Posted: Tue Jan 06, 2009 2:39 pm
by v84x4
:wink: Way cool

Can "Redirect" have an option to open in different browser window?
or "Pop-up" window?

Regards V8

Posted: Tue Jan 06, 2009 10:18 pm
by mathieu_bond
hi
now i was do improvement in extension redirec, now you can choose if you want :
* redirect to other url after a time parameter
or
* open a other popup windows with parameter
:wink:
name of extension was change , now it is "open_new_window"
tell me if it works correctly
:D

Posted: Wed Jan 07, 2009 7:32 am
by v84x4
8) WOW

Works great...............

Thank you!!! :D ........ thank you!!!! :D


Verry cool :wink:

See working example here: www.highwaytrucker.com

Much Much Regards V8

Posted: Wed Jan 21, 2009 4:24 am
by v84x4
8)

This extention is great.....

The only thing is that when you return to the page (home page)
where the extention is........ it reloads the extention :cry:

Am i saying this right?

Is there any way to make it so it knows that you already
use it (oppened it) so when you return to that page it
wont try to open again?

Regards V8

Posted: Wed Jan 21, 2009 5:16 pm
by mathieu_bond
Hello
i don't know enough good javascript and all what is possible to do
i can make you some proposition, if your server support php session you can do this, you must create a session variable when the page is open , and if this session variable exist then you don't activate again the pop up
maybe there is other better way to do, i dont know..

Posted: Wed Jan 21, 2009 8:21 pm
by v84x4
:)

OK.....

I will try this

Thanks again for the wounderfull extention

Keep up the good work

Regards V8

Posted: Wed Jan 21, 2009 8:24 pm
by mathieu_bond
you can try this little program, be careful you must set you page propriety to php for make it work, and write this on start of the page , change texte "url_pop_up" to the url you want to open :

<?php

session_start();

if ( !(isset ($_SESSION['pop_up'])) ) {

echo "<SCRIPT LANGUAGE=\"JavaScript\">
function ouvrir_popup() {
window.open('http://www.url_pop_up.com','MyPopupWindow','height=800,width=600,
top=50,left=50,resizable=yes,menubar=no,status=no,scrollbars=yes,
menubar=no'); }
ouvrir_popup();
</SCRIPT> " ;
$_SESSION['pop_up'] = 'actif';
}

?>

Posted: Wed Jan 21, 2009 8:40 pm
by mathieu_bond
i have forget, if you had this code in your page, you must shut out the extension "redirect" from the page! you can not have the extension and this code together on the page, if this work possible is to build a new extension :wink:

Posted: Thu Jan 22, 2009 6:23 am
by v84x4
8)

Oh My........

Thank you very much :wink:

I will try tomorrow afternoon and let you know

Much Much Regards V8

Posted: Sat Jan 24, 2009 9:36 am
by mathieu_bond
HI
you was try the script? it works? on my server this work, but if your server don't accept session this will not work( important: the script must be write on start the page and this must be first code of the page!), then this is possible to do with cookies too, let me know

Posted: Sun Jan 25, 2009 6:22 am
by v84x4
:cry: Sorry

Havnt had time to try it out yet

I will try on tuesday or wednesday

Much Regards V8

Posted: Thu Feb 26, 2009 12:15 am
by cinemaker
Is there an English version of the redirection extension? :D

Posted: Fri Feb 27, 2009 4:55 pm
by mathieu_bond
Hi, the extension is in english, comment are in english, in the zip file take the extension open_new_window.xwb

Posted: Sat Feb 28, 2009 3:46 am
by cinemaker
Thank you for the clarification. I did not see that extension in my list. I only saw the two referring to redirect, one of which was not in English. Using the right one now. Also, thanks for the useful extension.

Posted: Sat Feb 28, 2009 9:27 am
by zinc
This will be part of Version 6.0 :)

Posted: Thu Mar 12, 2009 4:23 pm
by v84x4
Sorry.......

Thank you for all your hard work

That "Script" worked great

Check it out at; www.highwaytrucker.com

Much Much Regards V8

Posted: Thu Mar 12, 2009 4:58 pm
by mathieu_bond
nice!!
you can do an extension nox :P

Posted: Fri Mar 13, 2009 12:55 am
by v84x4
:(

I wish I had time to mess with learnning how to build extentions

Someday

Thank you again for the script

Much Regards v8