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

  • Home
  • SEARCH
  • 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 7717783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:59:25+00:00 2026-06-01T02:59:25+00:00

I have a chrome extension which have a server-side javascript and I need this

  • 0

I have a chrome extension which have a server-side javascript and I need this js to be reloaded every [1] hour on the client side. What´s the best way to do it?

  • 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-01T02:59:26+00:00Added an answer on June 1, 2026 at 2:59 am

    Method 1
    Bump your extension version every couple of hours. Chrome will automatically update the extension: http://code.google.com/chrome/extensions/autoupdate.html.

    Method 2, distinguishing cases:

    • JSON: When the "server-side JS" only contains data, this is the best solution. Use setInterval in the background page to regularly update the variables. Do not forget to set the permissions in manifest.json, to enable cross-origin XHR.
      The response can be parsed with JSON.parse.
    • Script: Another option is to dynamically inject <script> tags in the background page.

    Warning: Loading and executing external scripts in the background page poses a potential security hole in the extension.

    When the network connection or your server is compromised, an evil third party can execute arbitrary code with your extension’s privileges!

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

Sidebar

Related Questions

I have a chrome extension which monitors the browser in a special way, sending
I'm working on a chrome extension, which use asynchronous functions, and I have a
I started making this simple google chrome extension in javascript. And in the beginning
I am creating a Chrome extension which will send the URL of every page
I am trying out a simple Google Chrome extension, in which I need to
I have a chrome extension in which I have two text boxes, one for
I have a windows application which installs a Chrome extension via the windows registry.
I have a simple javascript form in a chrome extension popup. When clicking the
I have a Chrome extension which is injecting some code into a web page
I have an extension which using chrome local storage. I connect to the local

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.