Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Just a splash page?

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 3.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tgatewood
      last edited by

      Is there a way to use the Captive Portal as just a splash page?

      I live in a dorm-type set up, and I just want our drupal-based homepage to show up, but I don't want to require user interaction.  After enabling the captive portal, just having a 'continue' button on the page confused the hell out of the residents.

      Is it possible, after redirection, to maybe run some javascript on the drupal site to auto-autenticate the client?

      Thanks!
      -Tyler

      1 Reply Last reply Reply Quote 0
      • B
        buraglio
        last edited by

        yeah, you can do this.  Just choose no authentication and create a "login" page that just has a continue button with whatever else you want it to say (like a terms of service or something).

        nb

        https://www.forwardingplane.net/

        1 Reply Last reply Reply Quote 0
        • C
          chx86
          last edited by

          Use onload to execute a javascript, which uses setTimeout() to submit the form after a few seconds. Note however that you still must have a hidden form embedded in the page.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.