Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Making "Exit Application" work like Logout in iwp

Featured Replies

  • Newbies

I am trying to get the Exit Application script to run like the Logout button on the status bar. When I click on the button attached with Exit Application it logs out just fine and it goes to the iwp_home.html page. I have a redirect in that page, which does work but the web adress in the address bar still displays the host computer for the FM db and not the redirected website.

The redirect works fine when I use the Logout button on the status bar. Is there anyway to make the Exit Application work exactly like the logout button?

I can't have students using the status bar because they dont't kow how to use it.

Thanks for the help.

Regards,

Nathan

I think the problem is that even when the status area is hidden, the frame is still there. You need your redirect page to break you out of that frame. Here is my redirect page


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">

<html>

<head>

     <SCRIPT LANGUAGE="JavaScript">

<!--



if (window != top) top.location.href = location.href;



// -->

</SCRIPT>



    <meta name="generator" content="HTML Tidy for Mac OS X (vers 1st September 2004), see www.w3.org">

    <meta http-equiv="REFRESH" content="0; URL=http://www.chem.umn.edu/services/massspec/">

    <meta http-equiv="Window-target" content="_top">

    <title>Scheduling page has moved</title>

</head>

<body>

You will be redirected

</body>

</html>

  

The javascript will get you out of the status area frame and put the right address at the top of the page.

If security is a concern, you may want the page to direct users to quit their browser, since this is the only reliable way to clear the authentication from the browser cache.

HTH,

Dana

  • Author
  • Newbies

Hey Dana,

Thanks for help it works great. I greatly appreciate it. As a side note do you know of any way in iwp to make a button which invokes the print command in the web browser? I have setup a printer friendly layout but I have to instruct them to go to File -> Print.

Again thanks for all your help?

Nathan

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.