Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9270677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:25:45+00:00 2026-06-18T15:25:45+00:00

I want to make an userscript (right now I am only worried about Chrome

  • 0

I want to make an userscript (right now I am only worried about Chrome compatibility) reload the page every 30 seconds (I mean, that’s not the point, I just want to somehow execute some script while the internet is offline), in case the internet goes down and the user is not here to see it.

Now, the problem is, as soon as the internet goes down the page will be redirected to “This webpage is not available” and all userscripts simply stop working.

I already tried to add @include * to the metadata, hoping that this would allow the userscript to work on said page, however I had no success.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:25:46+00:00Added an answer on June 18, 2026 at 3:25 pm

    Chrome’s “This webpage is not available” display is not a standard page with a “Greaseable” scheme. This means that Tampermonkey scripts and Chrome userscripts will not fire for it. You would have to make a full-fledged Chrome extension. (More details at this question.)

    There are some workarounds:

    (1) You could switch your DNS provider to one like OpenDNS. OpenDNS hijacks DNS resolution errors and serves up a spammy “search” page instead. (The page is guide.opendns.com, IIRC.)

    That search page is greaseable by Tampermonkey. Your script could search for OpenDNS’ “unavailable” messages and know that the site was offline.

    (2) Use AJAX to poll the page headers and only reload when the page is both up and online.

    Use GM_xmlhttpRequest() (or jQuery) to make a head request. If the request errors-out, then the site is offline, don’t reload the page.

    Likewise, if the Last-Modified header is the same as when you last checked, then there is no point in reloading the page (usually).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just want make sure I'm doing and thinking right about inheritance and constructors
I want make a page (HTML + CSS) that fits all the space left
I am newer for php. I want make php page cache, query data from
That's problem: I'm currently in OpenGL eye-space, now I want make a black rectangle
I want make submit in this page http://www.enviarsmsacuba.com/?p=join with C# and webbRowser controll but
i want make my button visible after matching some pattern into url every thing
I want make some quizes about movie. There is quiz mutable array with 10
I want make sure that one thing about the transaction lock of GAE. In
I want make a multi-language app I heard about .po files but I can't
I want make datetimepicker in my project. Using jquery how it is possible? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.