Jump to content

Is it possible to setTimeout on the following external script?


sfraise

Recommended Posts

Hi, I have an external script from someone else's site that I want to find a way to use a setTimeout on.

Of course I don't have access to the actual js files so I need to find a way to delay the action without the ability to touch the external js.

So basically the setTimeout needs to be incorporated with the following <script src='http://www.othersites.js'></script> format.

Everything I've tried to this point has failed as far as trying to use the setTimeout within the actual page file, so I'm guessing I need to do a full blown set up of my own js file incorporating the call to the external site's js then ad the call to my own js in my page header and the business end in the body of my page, I'm just not exactly sure how to set it up that way to where it actually works.

 

Any ideas on this?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.