https://www.sgx-index.com/

Eingereichte URL:
https://www.sgx-index.com/
Bericht beendet:

Die von der Seite ausgehenden identifizierten Links

JavaScript-Variablen · 21 gefunden

Globale JavaScript-Variablen, die in das Window Object einer Seite geladen werden, sind Variablen, die außerhalb von Funktionen deklariert werden und von jeder Stelle des Codes innerhalb des aktuellen Bereichs zugänglich sind

NameTyp
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
uidEventnumber
bootstrapobject
$function
jQueryfunction
TradingViewobject
GHistoryfunction

Konsolenprotokoll-Meldungen · 0 gefunden

In der Web-Konsole protokollierte Meldungen

HTML

Der HTML-Rohtext der Seite

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>หุ้นสิงคโปร์</title>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
    <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta3/css/all.css">
    <link rel="stylesheet" href="css/style.css?v=1732192270">
    <script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script>
    <link rel="shortcut icon" href="iconsxg.ico?v=5" type="image/x-icon">
</head>

<body>
    <div class="container">
        <div class="row">
            <img src="./image/sgxx.png" class="w-100 mt-3" alt="">
            <div class="text-center mt-4 font22" id="lottery_name">หุ้นสิงคโปร์</div>
            <div class="mt-2 text-center font24">เวลาที่ออก <span id="lotto_time">16:30:00</span> น.</div>
            <div class="result-top mt-2">
                <div class="col-12 col-sm-12">
                    <div class="card card-border-shadown background-system color-text-system-white">
                        <div class="card-body" style="background-color: #fff; border: 1px solid #fff;">
                            <div class="d-flex align-items-center">
                                <div class="font14" style="color: #000;">Stock ผลหวย 4 ตัว</div>
                                <div class="ms-auto lh-1">
                                    <div id="lotto_date" class="font14" style="color: #000;">2024-11-29</div>
                                </div>
                            </div>
                            <div id="digit4" class="text-center h1 mb-3 mt-4 font30" style="color: #000;"><span class="mainnumber">4</span><span class="mainnumber">9</span><span class="mainnumber">2</span><span class="mainnumber">9</span></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-4 col-md-4 mt-3">
                <div class="card card-border-shadown">
                    <div class="card-body" style="background-color: #fff;border: 1px solid #fff;">
                        <div class="d-flex align-items-center">
                            <div class="subheader font14" style="color: #000;">3 ตัวบน</div>
                        </div>
                        <div class="d-flex align-items-baseline mt-2 justify-content-center">
                            <div id="digit3_top" class="font24 text-center h1 mb-0 me-3" style="color: #000;">929</div>
                            <i class="fa-solid fa-arrow-up" style="color: #4caf50;"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-4 col-md-4 mt-3">
                <div class="card card-border-shadown">
                    <div class="card-body" style="background-color: #fff;border: 1px solid #fff;">
                        <div class="d-flex align-items-center">
                            <div class="subheader font14" style="color: #000;">2 ตัวบน</div>
                        </div>
                        <div class="d-flex align-items-baseline mt-2 justify-content-center">
                            <div id="digit2_top" class="font24 text-center h1 mb-0 me-3" style="color: #000;">29</div>
                            <i class="fa-solid fa-arrow-up mb-0" style="color: #4caf50;"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-4 col-md-4 mt-3">
                <div class="card card-border-shadown">
                    <div class="card-body" style="background-color: #fff;border: 1px solid #fff;">
                        <div class="d-flex align-items-center">
                            <div class="subheader font14" style="color: #000;">2 ตัวล่าง</div>
                        </div>
                        <div class="d-flex align-items-baseline mt-2 justify-content-center">
                            <div id="digit2_bottom" class="font24 text-center h1 mb-0 me-3" style="color: #000;">04</div>
                            <i class="fa-solid fa-arrow-down" style="color: #ef1a1a;"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div id="chart" class="mt-3">
            <!-- TradingView Widget BEGIN -->
            <script type="text/javascript" src="https://d33t3vvu2t2yu5.cloudfront.net/tv.js"></script>
            <script type="text/javascript">
                new TradingView.widget({
                    "autosize": true,
                    "symbol": "INDEX:STI",
                    "interval": "D",
                    "timezone": "Etc/UTC",
                    "theme": "Black",
                    "style": "1",
                    "locale": "th",
                    "toolbar_bg": "rgba(0, 0, 0, 1)",
                    "hide_top_toolbar": true,
                    "save_image": false,
                    "hideideas": true
                });
            </script><div id="tradingview_3858b-wrapper" style="position: relative; box-sizing: content-box; font-family: -apple-system, BlinkMacSystemFont, &quot;Trebuchet MS&quot;, Roboto, Ubuntu, sans-serif; margin: 0px auto !important; padding: 0px !important; width: 100%; height: 100%;"><iframe title="advanced chart TradingView widget" lang="en" id="tradingview_3858b" frameborder="0" allowtransparency="true" scrolling="no" allowfullscreen="true" src="https://s.tradingview.com/widgetembed/?hideideas=1&amp;overrides=%7B%7D&amp;enabled_features=%5B%5D&amp;disabled_features=%5B%5D&amp;locale=th#%7B%22symbol%22%3A%22INDEX%3ASTI%22%2C%22frameElementId%22%3A%22tradingview_3858b%22%2C%22interval%22%3A%22D%22%2C%22hide_top_toolbar%22%3A%221%22%2C%22save_image%22%3A%220%22%2C%22studies%22%3A%22%5B%5D%22%2C%22theme%22%3A%22Black%22%2C%22style%22%3A%221%22%2C%22timezone%22%3A%22Etc%2FUTC%22%2C%22studies_overrides%22%3A%22%7B%7D%22%2C%22utm_source%22%3A%22www.sgx-index.com%22%2C%22utm_medium%22%3A%22widget%22%2C%22utm_campaign%22%3A%22chart%22%2C%22utm_term%22%3A%22INDEX%3ASTI%22%2C%22page-uri%22%3A%22www.sgx-index.com%2F%22%7D" style="width: 100%; height: 100%; margin: 0px !important; padding: 0px !important;"></iframe></div>
            <style>
                #chart-area,
                #widget-container,
                .tv-main-panel {
                    background: #000;
                }

                .chart-page .chart-container {
                    border: black solid 0;
                }

                #chart {
                    width: 100%;
                    height: 400px;
                    margin: 0 auto;
                }
            </style>
            <!-- TradingView Widget END -->
        </div>

        <div class="mt-3">
            <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
                <div class="carousel-inner">
                    <div class="carousel-item active">
                        <img src="./image/body1.jpg" class="d-block w-100" alt="">
                    </div>
                    <div class="carousel-item">
                        <img src="./image/body2.png" class="d-block w-100" alt="">
                    </div>
                    <div class="carousel-item">
                        <img src="./image/body3.png" class="d-block w-100" alt="">
                    </div>
                </div>
                <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
                    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                    <span class="visually-hidden">Previous</span>
                </button>
                <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
                    <span class="carousel-control-next-icon" aria-hidden="true"></span>
                    <span class="visually-hidden">Next</span>
                </button>
            </div>
        </div>

        <nav class="navbar navbar-light bg-light mt-3" style="border-radius: 2px; border-left: 5px solid #f00;">
            <div class="container">
                <a class="navbar-brand font16">
                    <div class="text-dark">ผลลอตเตอรี่ย้อนหลัง</div>
                </a>
                <!-- <div id="tabale_first_filter" class="dataTables_filter font14 hidesearch"><label>ค้นหา : <input type="search" class="font12 searchh" placeholder="" aria-controls="tabale_first"></label></div> -->
            </div>
        </nav>

        <table class="table table-bordered mb-1 table-hover mt-2" id="history">
            <thead>
                <tr class="text-center" style="background: #fff;">
                    <td style="border: 2px solid #000; background: #111111; color: #fff;"><b class="font16">งวดวันที่</b></td>
                    <td style="border: 2px solid #f00; background: #f00; color: #fff;"><b class="font16">3 ตัวบน</b></td>
                    <td style="border: 2px solid #f00; background: #f00; color: #fff;"><b class="font16">2 ตัวบน</b></td>
                    <td style="border: 2px solid #f00; background: #f00; color: #fff;"><b class="font16">2 ตัวล่าง</b></td>
                </tr>
            </thead>
            <tbody>
                <tr class="text-center"></tr>
            <tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-29</td><td class="text-center" style="color: #fff;"> 929 </td><td class="text-center" style="color: #fff;"> 29 </td><td class="text-center" style="color: #fff;"> 04 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-28</td><td class="text-center" style="color: #fff;"> 725 </td><td class="text-center" style="color: #fff;"> 25 </td><td class="text-center" style="color: #fff;"> 16 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-27</td><td class="text-center" style="color: #fff;"> 809 </td><td class="text-center" style="color: #fff;"> 09 </td><td class="text-center" style="color: #fff;"> 30 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-26</td><td class="text-center" style="color: #fff;"> 239 </td><td class="text-center" style="color: #fff;"> 39 </td><td class="text-center" style="color: #fff;"> 00 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-25</td><td class="text-center" style="color: #fff;"> 139 </td><td class="text-center" style="color: #fff;"> 39 </td><td class="text-center" style="color: #fff;"> 63 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-22</td><td class="text-center" style="color: #fff;"> 602 </td><td class="text-center" style="color: #fff;"> 02 </td><td class="text-center" style="color: #fff;"> 80 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-21</td><td class="text-center" style="color: #fff;"> 922 </td><td class="text-center" style="color: #fff;"> 22 </td><td class="text-center" style="color: #fff;"> 42 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-20</td><td class="text-center" style="color: #fff;"> 364 </td><td class="text-center" style="color: #fff;"> 64 </td><td class="text-center" style="color: #fff;"> 33 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-19</td><td class="text-center" style="color: #fff;"> 797 </td><td class="text-center" style="color: #fff;"> 97 </td><td class="text-center" style="color: #fff;"> 42 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-18</td><td class="text-center" style="color: #fff;"> 255 </td><td class="text-center" style="color: #fff;"> 55 </td><td class="text-center" style="color: #fff;"> 15 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-15</td><td class="text-center" style="color: #fff;"> 470 </td><td class="text-center" style="color: #fff;"> 70 </td><td class="text-center" style="color: #fff;"> 54 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-14</td><td class="text-center" style="color: #fff;"> 816 </td><td class="text-center" style="color: #fff;"> 16 </td><td class="text-center" style="color: #fff;"> 82 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-13</td><td class="text-center" style="color: #fff;"> 034 </td><td class="text-center" style="color: #fff;"> 34 </td><td class="text-center" style="color: #fff;"> 86 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-12</td><td class="text-center" style="color: #fff;"> 148 </td><td class="text-center" style="color: #fff;"> 48 </td><td class="text-center" style="color: #fff;"> 99 </td></tr><tr class="font16"><td class="sorting_1 text-center" style="color: #fff;">2024-11-11</td><td class="text-center" style="color: #fff;"> 947 </td><td class="text-center" style="color: #fff;"> 47 </td><td class="text-center" style="color: #fff;"> 10 </td></tr></tbody>
        </table>
    </div><style>.tradingview-widget-copyright {font-size: 13px !important; line-height: 32px !important; text-align: center !important; vertical-align: middle !important; font-family: -apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif !important; color: #B2B5BE !important;} .tradingview-widget-copyright .blue-text {color: #2962FF !important;} .tradingview-widget-copyright a {text-decoration: none !important; color: #B2B5BE !important;} .tradingview-widget-copyright a:visited {color: #B2B5BE !important;} .tradingview-widget-copyright a:hover .blue-text {color: #1E53E5 !important;} .tradingview-widget-copyright a:active .blue-text {color: #1848CC !important;} .tradingview-widget-copyright a:visited .blue-text {color: #2962FF !important;}</style>


<script>
    function GHistory() {
        $.getJSON('//app.all123th.com/get-awards/wpsingpo?limit=15', function(str) {
            var html = '';
            $.each(str.history, function(id, val) {
                html += '<tr class="font16">';
                html += '<td class="sorting_1 text-center" style="color: #fff;">' + val.lotto_date + '</td>';
                html += '<td class="text-center" style="color: #fff;"> ' + val.digit3_top + ' </td>';
                html += '<td class="text-center" style="color: #fff;"> ' + val.digit2_top + ' </td>';
                html += '<td class="text-center" style="color: #fff;"> ' + val.digit2_bottom + ' </td>';
                html += '</tr>';
            })
            $(html).appendTo('#history');
        });
    }
    GHistory();

    function runmd(str, id) {
        if (str == 1) {
            res = Math.floor(Math.random() * 10);
        }
        if (str == 2) {
            res = Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10);
        }
        if (str == 3) {
            res = Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10);
        }
        if (str == 4) {
            res = Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10);
        }
        if (str == 5) {
            res = Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10) + '' + Math.floor(Math.random() * 10);
        }

        $('#' + id).html(res);
        var Tuimrsx = setTimeout(function() {
            runmd(str, id);
        }, 100);
    }
    var Tuimrs = '';
    var Tuimrsx = '';

    function checkTime(i) {
        if (i < 10) {
            i = "0" + i
        };
        return i;
    }

    function huaysgx() {
        var loading = '<img src="https://media1.giphy.com/media/3o7bu3XilJ5BOiSGic/giphy.gif" width="30px">';

        $.getJSON('//app.all123th.com/get-awards/wpsingpo', function(str) {
            window.document.title = str.name;
            $('#lottery_name').html(str.name);
            $('#lotto_date').html(str.date);
            $('#lotto_time').html(str.time);

            const todays = new Date();
            hh = todays.getHours();
            mm = todays.getMinutes();
            ss = todays.getSeconds();
            h = checkTime(hh);
            m = checkTime(mm);
            s = checkTime(ss);
            if (h == 16 && m >= 15 && m <= 45) {
                $('#digit5').html(loading);
                $('#digit4').html(loading);
                $('#digit3_top').html(loading);
                $('#digit2_top').html(loading);
                $('#digit2_bottom').html(loading);
                $('.digit5').html(loading);
                $('.digit4').html(loading);
                $('.digit3_top').html(loading);
                $('.digit2_top').html(loading);
                $('.digit2_bottom').html(loading);
                // var dig5 = runmd('5', 'digit5');
                var dig4 = runmd('4', 'digit4');
                Tuimrs = setTimeout(function() {
                    Tuimrsx = '';
                    Tuimrs = '';
                    JAPI();
                }, 10000);
            } else {
                // $('#digit5').html(str.digit5);
                // $('#digit4').html(str.digit4);
                $('#digit3_top').html(str.digit3_top);
                $('#digit2_bottom').html(str.digit2_bottom);
                $('#digit2_top').html(str.digit2_top);
                $('.digit5').html(str.digit5);
                $('.digit4').html(str.digit4);
                $('.digit3_top').html(str.digit3_top);
                $('.digit2_bottom').html(str.digit2_bottom);
                $('.digit2_top').html(str.digit2_top);
                Tuimrsx = '';
                Tuimrs = '';
            }
            var html = '';
            for (let i = 0; i < str.digit4.length; i++) {
                html += '<span class="mainnumber">' + str.digit4[i] + '</span>';
            }
            $(html).appendTo('#digit4');
        })
    }
    huaysgx();
</script>




<style>
    .aligncenter {
        margin-left: auto;
        margin-right: auto;
    }

    .text-h1,
    .text-h2 {
        line-height: 1.2;
        color: #0b236b;
        font-weight: 600;
    }

    .text-h1--with-carrier:before {
        content: "";
        position: absolute;
        background: #a4dd36;
        margin-top: 5px;
        width: 18px;
        height: 18px;
        -webkit-box-shadow: 7px 5px 0 #091f60;
        box-shadow: 7px 5px 0 #091f60;
        margin-left: -45px;
    }
</style></body></html>