download Tổng hợp các Userscripts

em có nhờ chatgpt viết hộ cái script sửa tạm vụ ảnh reaction die ở voz, các thím xài tạm

bữa giờ nhìn ocd, nay rảnh mò theo của bác :sexy_girl:
Code:
// ==UserScript==
// @name         Sửa lỗi emo Voz.vn
// @icon         https://www.google.com/s2/favicons?sz=64&domain=voz.vn
// @version      1.0
// @include      https://voz.vn/*
// @run-at       document-idle
// ==/UserScript==

(function() {
    'use strict';

    function replaceUrls(element) {
        const attributes = ['src', 'srcset'];
        attributes.forEach(attr => {
            const value = element.getAttribute(attr);
            if (value) {
                let newValue = value.replace(/https:\/\/statics\.voz\.tech/g, 'https://voz.vn');
                newValue = newValue.replace(/https:\/\/data\.voz\.vn(?!\/avatars\/)/g, 'https://voz.vn');
                element.setAttribute(attr, newValue);
            }
        });
    }

    const observer = new MutationObserver(mutations => {
        mutations.forEach(mutation => {
            mutation.addedNodes.forEach(node => {
                if (node.nodeType === 1) {
                    if (node.tagName === 'IMG') {
                        replaceUrls(node);
                    } else if (node.querySelector) {
                        node.querySelectorAll('img').forEach(replaceUrls);
                    }
                }
            });
        });
    });

    observer.observe(document.body, { childList: true, subtree: true });
    document.querySelectorAll('img').forEach(replaceUrls);
})();
 
có script hay addon nào che được tên user và avatar trên voz của mình không nhỉ. mình hay lướt ở chỗ làm mà k muốn đồng nghiệp biết :canny:
à voz next làm được :byebye:
Tôi nhận thấy điều này:
Những người lớn tuổi, vozer lâu năm luôn muốn che giấu mình là vozers.
Bọn trẻ, và phái nữ lại luôn khoe khoang rằng mình biết voz.
Trong cty mình cũng vậy, mình có nick cũ nhưng giấu đi, lập clone để chơi. Và mình biết đồng nghiệp cũng nhiều người như thế. Giấu như moè giấu mứt. Chẳng bù cho mấy chị em và mấy cháu trẻ trẻ mới vào làm, đi đâu cũng khoe, thậm chí in cả logo voz dán vào mặt lưng laptop.
 
tiện thể có script nào hỏi con copilot mà alt tab nó vẫn trả lời tiếp không mấy ngài, cái prevent page visibility không dùng được
oppQccp.png
 
Tôi nhận thấy điều này:
Những người lớn tuổi, vozer lâu năm luôn muốn che giấu mình là vozers.
Bọn trẻ, và phái nữ lại luôn khoe khoang rằng mình biết voz.
Trong cty mình cũng vậy, mình có nick cũ nhưng giấu đi, lập clone để chơi. Và mình biết đồng nghiệp cũng nhiều người như thế. Giấu như moè giấu mứt. Chẳng bù cho mấy chị em và mấy cháu trẻ trẻ mới vào làm, đi đâu cũng khoe, thậm chí in cả logo voz dán vào mặt lưng laptop.
Cơ mà sao cảm thấy Vozer bị kì thị ghê ta, trên FB hở tí cái là "bọn Vover..." này "bọn Vozer…" bọ, riết như kiểu nó thành 1 tính từ tiêu cực vậy ấy.
 
bữa giờ nhìn ocd, nay rảnh mò theo của bác :sexy_girl:
Code:
// ==UserScript==
// @name         Sửa lỗi emo Voz.vn
// @icon         https://www.google.com/s2/favicons?sz=64&domain=voz.vn
// @version      1.0
// @include      https://voz.vn/*
// @run-at       document-idle
// ==/UserScript==

(function() {
    'use strict';

    function replaceUrls(element) {
        const attributes = ['src', 'srcset'];
        attributes.forEach(attr => {
            const value = element.getAttribute(attr);
            if (value) {
                let newValue = value.replace(/https:\/\/statics\.voz\.tech/g, 'https://voz.vn');
                newValue = newValue.replace(/https:\/\/data\.voz\.vn(?!\/avatars\/)/g, 'https://voz.vn');
                element.setAttribute(attr, newValue);
            }
        });
    }

    const observer = new MutationObserver(mutations => {
        mutations.forEach(mutation => {
            mutation.addedNodes.forEach(node => {
                if (node.nodeType === 1) {
                    if (node.tagName === 'IMG') {
                        replaceUrls(node);
                    } else if (node.querySelector) {
                        node.querySelectorAll('img').forEach(replaceUrls);
                    }
                }
            });
        });
    });

    observer.observe(document.body, { childList: true, subtree: true });
    document.querySelectorAll('img').forEach(replaceUrls);
})();
Thanks chủ tịt. À mà con vịt pede bao giờ lên 3.0 đây chủ tịt ơi:nosebleed:
 
bữa giờ nhìn ocd, nay rảnh mò theo của bác :sexy_girl:
Code:
// ==UserScript==
// @name         Sửa lỗi emo Voz.vn
// @icon         https://www.google.com/s2/favicons?sz=64&domain=voz.vn
// @version      1.0
// @include      https://voz.vn/*
// @run-at       document-idle
// ==/UserScript==

(function() {
    'use strict';

    function replaceUrls(element) {
        const attributes = ['src', 'srcset'];
        attributes.forEach(attr => {
            const value = element.getAttribute(attr);
            if (value) {
                let newValue = value.replace(/https:\/\/statics\.voz\.tech/g, 'https://voz.vn');
                newValue = newValue.replace(/https:\/\/data\.voz\.vn(?!\/avatars\/)/g, 'https://voz.vn');
                element.setAttribute(attr, newValue);
            }
        });
    }

    const observer = new MutationObserver(mutations => {
        mutations.forEach(mutation => {
            mutation.addedNodes.forEach(node => {
                if (node.nodeType === 1) {
                    if (node.tagName === 'IMG') {
                        replaceUrls(node);
                    } else if (node.querySelector) {
                        node.querySelectorAll('img').forEach(replaceUrls);
                    }
                }
            });
        });
    });

    observer.observe(document.body, { childList: true, subtree: true });
    document.querySelectorAll('img').forEach(replaceUrls);
})();
Viết bằng HE là ngon nhất đó ngài, hiệu năng tốt, không bị load thừa 404:

  • Name: DenVau
  • Redirect request
  • Regular expression
  • Match: ^https:\/\/statics\.voz\.tech(.*?)$
  • Redirect: https://voz.vn$1

  • Name: DenVau2
  • Redirect request
  • Regular expression
  • Match: ^https:\/\/data\.voz\.vn(?!\/avatars\/)(.*?)$
  • Redirect: https://voz.vn$1


 
Thanks chủ tịt. À mà con vịt pede bao giờ lên 3.0 đây chủ tịt ơi:nosebleed:
ai biết, đổi gió thì có thể dùng thử thằng này, nhân aira2
:shame:
Viết bằng HE là ngon nhất đó ngài, hiệu năng tốt, không bị load thừa 404:

  • Name: DenVau
  • Redirect request
  • Regular expression
  • Match: ^https:\/\/statics\.voz\.tech(.*?)$
  • Redirect: https://voz.vn$1

  • Name: DenVau2
  • Redirect request
  • Regular expression
  • Match: ^https:\/\/data\.voz\.vn(?!\/avatars\/)(.*?)$
  • Redirect: https://voz.vn$1
xịn :sexy_girl:
 
Back
Top