Skip to content

Create hi#1

Open
ngocute wants to merge 1 commit intomainfrom
patch-1
Open

Create hi#1
ngocute wants to merge 1 commit intomainfrom
patch-1

Conversation

@ngocute
Copy link
Copy Markdown
Owner

@ngocute ngocute commented Aug 16, 2022

<script crossorigin="anonymous" src="https://kit.fontawesome.com/e081c0a6dd.js"></script> <title>Nhí Badboiz</title> <style id="page-skin-1" type="text/css">

Senthanh

Tricker
AdminBot
Musician
2005

Thông Tin Liên Hệ

Gmail

COPY
<script> function geturl(giatri) { var $temp = $(""); $("body").append($temp); $temp.val(giatri).select(); document.execCommand("copy"); $temp.remove(); alert("Copy thành công!"); } </script> <script crossorigin="anonymous" src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
<style> body { display: block; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; unselectable: on; } </style> <style> #snowflakeContainer { position: absolute; left: 0px; top: 0px; }
    .snowflake {
        padding-left: 15px;
        font-size: 14px;
        line-height: 24px;
        position: fixed;
        color: #ebebeb;
        user-select: none;
        z-index: 1000;
        -moz-user-select: none;
        -ms-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }
    
    .snowflake:hover {
        cursor: default
    }
</style>
<script type="text/javascript">
    //<![CDATA[
    var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
    var transforms = ["transform", "msTransform", "webkitTransform", "mozTransform", "oTransform"];
    var transformProperty = getSupportedPropertyName(transforms);
    var snowflakes = [];
    var browserWidth;
    var browserHeight;
    var numberOfSnowflakes = 39;
    var resetPosition = false;

    function setup() {
        window.addEventListener("DOMContentLoaded", generateSnowflakes, false);
        window.addEventListener("resize", setResetFlag, false)
    }
    setup();

    function getSupportedPropertyName(b) {
        for (var a = 0; a < b.length; a++) {
            if (typeof document.body.style[b[a]] != "undefined") {
                return b[a]
            }
        }
        return null
    }

    function Snowflake(b, a, d, e, c) {
        this.element = b;
        this.radius = a;
        this.speed = d;
        this.xPos = e;
        this.yPos = c;
        this.counter = 0;
        this.sign = Math.random() < 0.5 ? 1 : -1;
        this.element.style.opacity = 0.5 + Math.random();
        this.element.style.fontSize = 4 + Math.random() * 30 + "px"
    }
    Snowflake.prototype.update = function() {
        this.counter += this.speed / 5000;
        this.xPos += this.sign * this.speed * Math.cos(this.counter) / 40;
        this.yPos += Math.sin(this.counter) / 40 + this.speed / 30;
        setTranslate3DTransform(this.element, Math.round(this.xPos), Math.round(this.yPos));
        if (this.yPos > browserHeight) {
            this.yPos = -50
        }
    };

    function setTranslate3DTransform(a, c, b) {
        var d = "translate3d(" + c + "px, " + b + "px, 0)";
        a.style[transformProperty] = d
    }

    function generateSnowflakes() {
        var b = document.querySelector(".snowflake");
        var h = b.parentNode;
        browserWidth = document.documentElement.clientWidth;
        browserHeight = document.documentElement.clientHeight;
        for (var d = 0; d < numberOfSnowflakes; d++) {
            var j = b.cloneNode(true);
            h.appendChild(j);
            var e = getPosition(50, browserWidth);
            var a = getPosition(50, browserHeight);
            var c = 5 + Math.random() * 40;
            var g = 4 + Math.random() * 10;
            var f = new Snowflake(j, g, c, e, a);
            snowflakes.push(f)
        }
        h.removeChild(b);
        moveSnowflakes()
    }

    function moveSnowflakes() {
        for (var b = 0; b < snowflakes.length; b++) {
            var a = snowflakes[b];
            a.update()
        }
        if (resetPosition) {
            browserWidth = document.documentElement.clientWidth;
            browserHeight = document.documentElement.clientHeight;
            for (var b = 0; b < snowflakes.length; b++) {
                var a = snowflakes[b];
                a.xPos = getPosition(50, browserWidth);
                a.yPos = getPosition(50, browserHeight)
            }
            resetPosition = false
        }
        requestAnimationFrame(moveSnowflakes)
    }

    function getPosition(b, a) {
        return Math.round(-1 * b + Math.random() * (a + 2 * b))
    }

    function setResetFlag(a) {
        resetPosition = true
    };
    //]]>
</script>
<div id="snowflakeContainer">
    <p class="snowflake"><img src="https://blogger.googleusercontent.com/img/a/AVvXsEiGwiKY4UEVHwcigi0lLQ6z43PYHoscMVaIsV2umnXlIP3UFgD_zsvkAZ5xY5BihQzm8mWSlB1oWkPFetYgv0Hs7MPwLTduLS2afd_NQyxja4Bjp8XMP7lPR4fDgZ38asrlHRwtywb3nW5RlSECQpi7DnpkrrqH0WrUB_hHRYMbinqR9p2qpgbBusqZxA=s320"
            style="width:35px"></p>
</div>
<!--<body>
-->
<body onload="thongbaopopup()"></body>
<style>
    .tbpopup .tboverlay {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
        display: none;
    }
    
    .tbpopup .tbcontent {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        background: #fff;
        max-width: 600px;
        z-index: 2;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 20px;
        display: block;
        position: fixed;
        box-shadow: 0px 0px 10px #111;
    }
    
    @media (max-width: 700px) {
        .tbpopup .tbcontent {
            width: 90%;
        }
    }
    
    .tbpopup .tbclose-btn {
        cursor: pointer;
        position: absolute;
        right: 2px;
        top: 2px;
        width: 35px;
        height: 35px;
        color: #ff4444;
        font-size: 30px;
        font-weight: 300;
        line-height: 35px;
        text-align: center;
        border-radius: 50%;
    }
    
    .tbpopup.active .tboverlay {
        display: block;
    }
    
    .tbpopup.active .tbcontent {
        transition: all 300ms ease-in-out;
        transform: translate(-50%, -50%) scale(1);
    }
    
    .tbbuttom {
        background: #00cc00;
        color: #fff
    }
</style>
<link href="https://fonts.googleapis.com/css?family=Dancing+Script:400,700&amp;subset=vietnamese" rel="stylesheet">
<!--Thông báo-->

<body onload="thongbaopopup()"></body>
<style>
    .tbpopup .tboverlay {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
        display: none;
    }
    
    .tbpopup .tbcontent {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        background: #fff;
        max-width: 600px;
        z-index: 2;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 20px;
        display: block;
        position: fixed;
        box-shadow: 0px 0px 10px #111;
    }
    
    @media (max-width: 700px) {
        .tbpopup .tbcontent {
            width: 90%;
        }
    }
    
    .tbpopup .tbclose-btn {
        cursor: pointer;
        position: absolute;
        right: 2px;
        top: 2px;
        width: 35px;
        height: 35px;
        color: #ff4444;
        font-size: 30px;
        font-weight: 300;
        line-height: 35px;
        text-align: center;
        border-radius: 50%;
    }
    
    .tbpopup.active .tboverlay {
        display: block;
    }
    
    .tbpopup.active .tbcontent {
        transition: all 300ms ease-in-out;
        transform: translate(-50%, -50%) scale(1);
    }
    
    .tbbuttom {
        background: #00cc00;
        color: #fff
    }
</style>
<link href="https://fonts.googleapis.com/css?family=Dancing+Script:400,700&amp;subset=vietnamese" rel="stylesheet">
<!-- Thong bao pupup -->
<div class="tbpopup" id="tbpopup-1">
    <div class="tboverlay"></div>
    <div class="tbcontent">
        <div class="tbclose-btn" onclick="thongbaopopup()"></div>
        <div class="tbclose-btn" onclick="thongbaopopup()">&times</div>
        <div style="font-size:33px;font-weight:bolder; font-family: &#x27;Dancing Script&#x27;, cursive;">Chúc Bạn Một Ngày Tốt Lành</div>
        <div style="color:#eb2f06;font-size:21px;font-family: &#x27;Dancing Script&#x27;, cursive;">Tôi muốn tắt nắng đi🌤️</div>
        <div style="color:#eb2f06;font-size:21px;font-family: &#x27;Dancing Script&#x27;, cursive;">Cho màu đừng nhạt mất🙈</div>
        <div style="color:#eb2f06;font-size:21px;font-family: &#x27;Dancing Script&#x27;, cursive;">Tôi muốn buộc cậu lại😳</div>
        <div style="color:#eb2f06;font-size:21px;font-family: &#x27;Dancing Script&#x27;, cursive;">Cho cậu là của tôi❤️</div>

    </div>
</div>
<!-- js thong bao popup -->
<script>
    function thongbaopopup() {
        document.getElementById("tbpopup-1").classList.toggle("active");
    }
</script>
<!--Kết thúc thông báo-->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant