您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Thêm nút FPT University hiện popup chào trên Zoho Desk
// ==UserScript==
// @name ZohoDesk CRM Popup Button
// @namespace https://minhthanh.dev/
// @version 1.0
// @description Thêm nút pop-up trên trang Zoho Desk CRM Integration
// @author Minh Thanh
// @match https://www.zoho.com/desk/crm-integration.html
// @grant none
// ==/UserScript==
(function() {
'use strict';
window.addEventListener('load', function () {
// Tạo nút pop-up
const btn = document.createElement('button');
btn.textContent = 'Hiện thông báo';
btn.style.position = 'fixed';
btn.style.bottom = '20px';
btn.style.right = '20px';
btn.style.padding = '10px 15px';
btn.style.zIndex = 9999;
btn.style.backgroundColor = '#007bff';
btn.style.color = 'white';
btn.style.border = 'none';
btn.style.borderRadius = '5px';
btn.style.cursor = 'pointer';
// Tạo hộp pop-up
const popup = document.createElement('div');
popup.innerHTML = `
Bạn vừa bật pop-up thành công!
Đóng`;
popup.style.position = 'fixed';
popup.style.top = '30%';
popup.style.left = '35%';
popup.style.zIndex = 9999;
popup.style.display = 'none';
btn.onclick = () => {
popup.style.display = 'block';
};
document.body.appendChild(btn);
document.body.appendChild(popup);
});
})();