Jump to content

How to insert a custom script to run before any other script


Mehmet Emin

Recommended Posts

Hi

Here is a sample:

<!DOCTYPE HTML>
<html lang="it">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<meta name="google" content="notranslate" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>xxxxxxxxxxxxxxxxxxxxxxxx</title>

 

<script src="/myfirst.js"></script>  //I want to insert just here


<link rel=stylesheet href="/m/ext-7.0.0/build/modern/theme-material/resources/theme-material-all.css" />
<link rel=stylesheet href="/m/unim-1.90.0.1534/css/uni-ext.css" />
<script src="/m/ext-7.0.0/build/ext-modern-all.js"></script>
<script src="/m/ext-7.0.0/build/modern/theme-material/theme-material.js"></script>
<script src="/m/uni-1.90.0.1534/ext-unicommon-min.js"></script>
<script src="/m/uni-1.90.0.1534/ext-sync-min.js"></script>
<script src="/m/ext-7.0.0/build/classic/locale/locale-it.js"></script>


<script src="/m/uni-1.90.0.1534/jQuery/jquery-1.11.2.min.js"></script>
<link rel=stylesheet href="/m/ext-7.0.0/build/packages/font-pictos/resources/font-pictos-all.css" />
<link rel=stylesheet href="/m/ext-7.0.0/build/packages/font-awesome/resources/font-awesome-all.css" />
<link rel=stylesheet href="/m/uni-1.90.0.1534/unimap/leaflet.css" />
<script src="/m/uni-1.90.0.1534/unimap/leaflet.js"></script>
<link rel=stylesheet href="/m/uni-1.90.0.1534/sweetalert/sweetalert2.min.css" />
<link rel=stylesheet href="/m/uni-1.90.0.1534/sweetalert/unisweetalert2.css" />
<script src="/m/uni-1.90.0.1534/sweetalert/sweetalert2.min.js"></script>
<script src="/m/uni-1.90.0.1534/unicanvas-min.js"></script>
<script src="/m/uni-1.90.0.1534/unimap/Leaflet.GoogleMutant.js"></script>
<link rel=stylesheet href="/m/unim-1.90.0.1534/css/uni-material.css" />
<script src="/m/unim-1.90.0.1534/touch-unigui-min.js"></script>

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...