
    ҫfi                         d Z y)a  
// https://intoli.com/blog/making-chrome-headless-undetectable/
// store the existing descriptor
const elementDescriptor = Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'offsetHeight');

// redefine the property with a patched descriptor
Object.defineProperty(HTMLDivElement.prototype, 'offsetHeight', {
  ...elementDescriptor,
  get: function() {
    if (this.id === 'modernizr') {
        return 1;
    }
    return elementDescriptor.get.apply(this);
  },
});
N)chrome_hairline     d/home/homepc/tiktok-worker/venv/lib/python3.12/site-packages/TikTokApi/stealth/js/chrome_hairline.py<module>r      s   r   