How to redirect to URL you don't own?

983 views
Skip to first unread message

Yosh

unread,
Dec 13, 2010, 1:16:35 AM12/13/10
to Chromium Apps
Hello, I tried to make an app that redirects to URL that I don't own,
but it didn't let me. So I had to set up a redirect service on a
domain I already own and link to that instead.

However, some other third party has managed to submit an app that
links to the same URL I wanted to. I am sure he doesn't own the
domain, so obviously it can be done.

How do you do it?

PhistucK

unread,
Dec 13, 2010, 2:04:51 AM12/13/10
to Yosh, Chromium Apps
What did not let you?
You can create a packaged app and add a JavaScript based redirection to your launch page.

PhistucK

Yosh

unread,
Dec 13, 2010, 2:07:53 AM12/13/10
to Chromium Apps
yeah, I figured that'd be the only way to do it.

On Dec 13, 2:04 am, PhistucK <phist...@gmail.com> wrote:
> What did not let you?
> You can create a packaged app and add a JavaScript based redirection to your
> launch page.
>
> ☆*PhistucK*

José T.

unread,
Jan 7, 2011, 3:07:27 PM1/7/11
to Chromium Apps
I'm new to Javascript. So how would i create this re-direct for my web
app?

On Dec 13 2010, 2:04 am, PhistucK <phist...@gmail.com> wrote:
> What did not let you?
> You can create a packaged app and add a JavaScript based redirection to your
> launch page.
>
> ☆*PhistucK*

PhistucK

unread,
Jan 7, 2011, 3:47:17 PM1/7/11
to José T., Chromium Apps
Create a page, paste this code into it -
<!DOCTYPE HTML>
<html>
 <head>
  <script>
   location.href = "http://new-URL.com/";
  </script>
 </head>
 <body>
 </body>
</html>

Note that this is not a JavaScript learning group, so, please, next time, just Google it.

PhistucK

José T.

unread,
Jan 7, 2011, 3:49:38 PM1/7/11
to Chromium Apps
Very much appreciated!

On Jan 7, 3:47 pm, PhistucK <phist...@gmail.com> wrote:
> Create a page, paste this code into it -
> <!DOCTYPE HTML>
> <html>
>  <head>
>   <script>
>    location.href = "http://new-URL.com/";
>   </script>
>  </head>
>  <body>
>  </body>
> </html>
>
> Note that this is not a JavaScript learning group, so, please, next time,
> just Google it.
>
> ☆*PhistucK*
Reply all
Reply to author
Forward
0 new messages