PageSourceSearch

https://sellersprite.ai/assets/js/firebase/firebase-browser-web.js?v001

js sellersprite.ai collected 2026-09-24 13:04:31 UTC 1,938 bytes, 46 lines download raw bytes

1$(function () {
2    var Fn = {
3        node: {
4            $body: $("body"),
5        },
6        init: function () {
7            let that = this;
8            //  动态绑定事件
9           // 无论关闭还是打开链接都是打开链接
10           that.node.$body.on("click",'#firebase-browser-message .right-firebase,#firebase-browser-message .close-btn-base,#firebase-browser-message .open-link-firebase',function(){
11                let url = $(this).parents(".firebase-box-message").attr("data-link") || 'https://www.sellersprite.com/',$dom = $("#firebase-browser-message");;
12                $dom.find(".firebase-box-message").length==1?$dom.remove():$(this).parents(".firebase-box-message").css('right','-9999px').remove();
13                $(this).is(".close-btn-base")?null:window.open(url);
14            });
15            that.node.$body.on("click",'#firebase-browser-message .myFirebaseChange',function(){
16                that.autoPlay()
17            });
18        },
19        autoPlay:function() {//自动播放函数
20            let audioPlay = document.getElementById("myFirebaseaudio");
21            audioPlay.play()
22        }
23    }
24  window.firebaseBrowsermessage = Fn;
25  window.firebaseBrowsermessage.init();
26});
27  // 前端接收浏览器消息
28window.createBrowsermessage = function(str) {
29    if(str&&str.notification){
30        let $dom = null;
31        if(!document.querySelector("#firebase-browser-message")){
32            $("body").append($("#tpl-browser-message-main-body").tmpl({}));
33        }
34        $dom = $("#firebase-browser-message");
35        $dom.append($("#tpl-browser-message-body").tmpl({
36                BrowserMessageInfor: str,
37                view_it_now:GLOBAL_MOMENT_LANGUAGE || ''
38        }))//当还没hide时禁止重复点击
39        setTimeout(() => {
40            $dom.find(".myFirebaseChange").click();
41            $dom.find(".firebase-box-message").css('right','22px');
42          }, 10)
43
44    }
45};
46

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.