! - . . , , . , , , (, ) . !



VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: ,

1 1 1

  1. #1

    ,





    ,


    JavaScript- , HTML:

    PHP :
    <script src="/path/to/script.js"></script
    /path/to/script.js , ( ).
    .
    URL, :

    PHP :
    <script src="https://cdnjs.cloudflare.com/ajax/libs/script.js/4.3.0/script.js"></script
    . , src="script.js" .

    , :

    PHP :
    <script src="/js/script1.js"></script>
    <
    script src="/js/script2.js"></script
    , HTML , . , , . , , , , . src, . SCRIPT .

    :

    PHP :
    <script src="file.js">
      
    alert(1); //    src,     
    </script
    : SCRIPT src, . : src, , :

    PHP :
    <script src="file.js"></script>
    <
    script>
      
    alert);
    </
    script

    : defer/async


    HTML . -: , , , . <script>, , .

    , <p> :

    PHP :
    <!DOCTYPE HTML>
    <
    html>

    <
    head>
      <
    meta charset="utf-8">
    </
    head>

    <
    body>

      <
    p> :</p>

      <
    script>
        
    alert' !' );
        
    alert' !' );
        
    alert' !' );
      </
    script>

      <
    p> !</p>

    </
    body>

    </
    html
    . , , . , , . , , big.js, <body> :

    PHP :
    <html>
    <
    head>
      <
    script src="big.js"></script>
    </
    head>
    <
    body>
      
            big.js.
    </
    body>
    </
    html
    ? , ? , , . , , , . , , . . . , , , ? !

    , ( ):

    PHP :
    <p>      .</p>

    <
    script src="https://js.cx/hello/ads.js?speed=0"></script>

    <
    p>... !</p
    ? , , . , 3 , , . , , , , . . , , . . async defer:

    async

    , IE9. . , <script async src="..."> , . .

    defer

    , IE. , , async.

    , defer .
    , ( async) , :

    PHP :
    <script src="1.js" async></script>
    <
    script src="2.js" async></script
    ( defer) 1.js, 2.js, , .

    PHP :
    <script src="1.js" defer></script>
    <
    script src="2.js" defer></script
    defer , 2.js 1.js, -, .

    defer , HTML- .

    ,

    PHP :
    <script src="async.js" async></script>
    <
    script src="defer.js" defer></script
    async.js , , , . defer.js . , , , .

    async defer

    async defer async, IE9- defer ( async).
    async/defer .
    async/defer , , .. src. <script></script>, .

    async:

    PHP :
    <p>      ...</p>

    <
    script async src="https://js.cx/hello/ads.js?speed=0"></script>

    <
    p>... !</p
    , , alert , .
    . . <script> , . . , , <script> javascript, , , , , async. , , . , , , script.async = false.

    :

    PHP :
    function addScript(src){
      var 
    script document.createElement('script');
      
    script.src src;
      
    script.async false//   
      
    document.head.appendChild(script);
    }

    addScript('1.js'); //     
    addScript('2.js'); // ,   
    addScript('3.js'); // , ,   1 -> 2 -> 3 

    • <script>, <script src=""></script>.
    • async defer , ( ) . .
    • async defer: defer , async . , defer , HTML- , async .









  2. 1 c Serg_Brain :

    Djon_Brain (09.02.2019)

, : 7

, , , ajax, , , doc, , , , file, html, info, , javascript, , ., ., , , pawno, pawno-info, php, ,

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g