Mehmet Emin Posted February 3, 2021 Share Posted February 3, 2021 How can I insert a custom script to run before any other script. CustomFiles property of ServerModule allows to add but only after uniGUI scripts. Thanks Link to comment Share on other sites More sharing options...
Sherzod Posted February 3, 2021 Share Posted February 3, 2021 Hello, 1 minute ago, Mehmet Emin said: to run before any other script. What do you mean? Please explain. Link to comment Share on other sites More sharing options...
Mehmet Emin Posted February 3, 2021 Author Share Posted February 3, 2021 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 More sharing options...
Sherzod Posted February 3, 2021 Share Posted February 3, 2021 Sorry, why? Link to comment Share on other sites More sharing options...
Mehmet Emin Posted February 3, 2021 Author Share Posted February 3, 2021 I have a problem with Facebook Messenger IOS app (it does not run Ext JS webpage) so I want to insert some debug code to try to trace what is wrong. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now