PageSourceSearch

https://gfb.gameflier.com/js/gfbillingprocessor.js

js gameflier.com collected 2026-10-02 05:58:46 UTC 3,391 bytes, 88 lines download raw bytes

1var SettingUrl = "https://image.gameflier.com/GF/GFWebSetting.js";
2//var SettingUrl = "/GFWebSetting.js";
3
4$(document).ready(function () {
5    if (location.pathname == '/Billing/Login/login.aspx') {
6        loginLayout();
7    }
8	else if (location.pathname == '/Billing/Login/login2.aspx') {
9        loginLayout();
10    }
11    else if (location.pathname == '/Billing/service.aspx') {
12        serviceLayout();
13    }
14    else if (location.pathname.indexOf("/Billing/account/") == 0 && location.pathname != '/Billing/account/index.aspx') {
15        accountLayout();
16
17    }
18});
19
20function loginLayout() {
21    $.ajaxSetup({ cache: true });
22    $.getScript(SettingUrl, function () {
23        // 左側橫幅大廣告
24        $('#topSlider').html(function () {
25            var layoutLeftBanner = "";
26
27            for (var i = 0; i < loginbanner.list.length; i++) {
28                layoutLeftBanner += "<a href=\"" + loginbanner.list[i].url + "\" title=\"" + loginbanner.list[i].title + "\" target=\"_blank\"><img width=\"435\" height=\"195\" src=\"" + loginbanner.list[i].image + "\" /></a>";
29            }
30
31            return layoutLeftBanner;
32        })
33            
34
35
36        // 下方橫幅廣告
37        if (loginbottom.src) {
38            var layoutBottomBanner = "";
39            layoutBottomBanner += "<a href=\"" + loginbottom.url + "\" title=\"" + loginbottom.title + "\" target=\"_blank\"><img src=\"" + loginbottom.src + "\" width=\"" + loginbottom.width + "\" height=\"" + loginbottom.height + "\" /></a>";
40
41            $("#BottomLayer").html(layoutBottomBanner);
42        }
43        else {
44            $("#BottomLayer").html("");
45        }
46    })
47        .then(function () {
48            $('#topSlider').nivoSlider({
49                effect: 'sliceUpDownLeft',
50                slices: 15,
51                animSpeed: 500,
52                pauseTime: 5000,
53                startSlide: 0,
54                directionNav: false,
55                controlNav: true,
56                controlNavThumbs: false,
57                pauseOnHover: true
58            });
59        })
60}
61
62
63function serviceLayout() {
64    $.ajaxSetup({ cache: true });
65    $.getScript(SettingUrl, function () {
66        // 服務大廳右側廣告
67        $('#ServiceCM').html(function () {
68            var layoutSideRightBanner = "";
69
70            for (var i = 0; i < servicecm.list.length; i++) {
71                layoutSideRightBanner += "<div style=\"padding-bottom: 5px;\"><a href=\"" + servicecm.list[i].url + "\" target=\"_blank\"><img width=\"200\" height=\"180\" src=\"" + servicecm.list[i].image + "\" /></a></div>";
72            }
73
74            return layoutSideRightBanner;
75        })
76    })
77}
78
79function accountLayout() {
80    $.ajaxSetup({ cache: true });
81    $.getScript(SettingUrl, function () {        
82        $("#form1, #form01").append("<div style=\'position:fixed;display:block;cursor:pointer;left:10vw;top:35vh;z-index:2;\'><a href=\'" + accountcm.left.url + "\' target=\'_blank\'><img src=\'" + accountcm.left.image + "\' style=\'border:none\'></a></div>");
83        $("#form1, #form01").append("<div style=\'position:fixed;display:block;cursor:pointer;right:10vw;top:35vh;z-index:2;\'><a href=\'" + accountcm.right.url + "\' target=\'_blank\'><img src=\'" + accountcm.right.image + "\' style=\'border:none\'></a></div>");
84    })
85
86
87}
88

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.