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 6623333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:31:14+00:00 2026-05-25T21:31:14+00:00

Where is the JS file and is this Async the fastest way to call

  • 0

Where is the JS file and is this Async the fastest way to call JS?

I guess they then have PHP calls in the .JS for updating the Ad stats??

The code:

<script type="text/javascript">
(function(){ 
     var acc = "acc_230d269_pub";
     var st = "nocss";
     var or = "h";
     var e = document.getElementsByTagName("script")[0];
     var d = document.createElement("script");
     d.src = ('https:' == document.location.protocol ?'https://' : 'http://')+"engine.influads.com/show/"+or+"/"+st+"/"+acc;
     d.type = "text/javascript"; 
     d.async = true;
     d.defer = true;
     e.parentNode.insertBefore(d,e);
 })();
 </script>
  • 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-05-25T21:31:14+00:00Added an answer on May 25, 2026 at 9:31 pm

    I’ve made your code more readable:

    1 <script type="text/javascript">
    2 (function () {
    3   var acc = "acc_230d269_pub";
    4   var st = "nocss";
    5   var or = "h";
    6   var e = document.getElementsByTagName("script")[0];
    7   var d = document.createElement("script");
    8   d.src = ('https:' == document.location.protocol ? 'https://' : 'http://') +
    9                "engine.influads.com/show/" + or + "/" + st + "/" + acc;
    10  d.type = "text/javascript";
    11  d.async = true;
    12  d.defer = true;
    13  e.parentNode.insertBefore(d, e);
    14 })();
    15 </script>
    
    • 2,14 An anonymous function wrapper is created, so that variables cannot be access from outside the function (“scope”)
    • 3   acc looks like the identifier of the advertiser
    • 4,5 st = "nocss" and or = "h" looks like settings to adjust the appearance
    • 7,10-12 A <script> tag is created. async = Loading the script will not block the execution of the document. defer=true prevents the script from not being executed (can be omitted)
    • 6,13 The newly created script tag is inserted before (13) the first script tag in the document (6,13)
    • 8,9 The URL is constructed:
      If the current page is transmitted over a secure connection, the injected script will also be transferred over the HTTPS protocol.

    The extension of the requested file is omitted. This file could be served using the application/javascript MIME type by server configuration.

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

Sidebar

Related Questions

I have this code that loads an xml file using javascript: function getXmlDocument(sFile) {
I'm using the code below to download this XML file : private async static
I have an SVG file.This file shows the outline of cartoon character(2D character). My
I have a string in xml file This is a subpara (10.1), subpara (1)
I have registered an enumeration type ClefType within my header file - this enum
I have 3 gits wrapped by a manifest file (this manifest file is in
I have this function: public static void Play(string FileName, bool Async = false) {
I have been struggling with this piece of code for a while and I
Hello I have a jQuery function that will send to a php file some
in this article delphi.net(prism) support async file io. Delphi(Native/VCL) has Async File IO Class

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.