), so idempotency matters.)
// 2) try/catch around defineProperty — some browsers lock HTMLMediaElement.prototype.src as
// non-configurable on the parent prototype, shadowing it would throw.
// If the override fails, the setAttribute and MutationObserver below still catch most
// dynamic src assignments, so the page still works.
const videoProto = HTMLVideoElement.prototype;
const srcDesc = Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'src') ||
Object.getOwnPropertyDescriptor(HTMLVideoElement.prototype, 'src');
if (srcDesc) {
try {
Object.defineProperty(videoProto, 'src', {
configurable: true,
enumerable: true,
set(v) { srcDesc.set.call(this, rewriteUrl(v)); },
get() { return srcDesc.get.call(this); }
});
} catch (e) { /* parent src is non-configurable; rely on setAttribute/MutationObserver */ }
}
// Override source element src
const sourceProto = HTMLSourceElement.prototype;
const srcDesc2 = Object.getOwnPropertyDescriptor(sourceProto, 'src');
if (srcDesc2) {
try {
Object.defineProperty(sourceProto, 'src', {
configurable: true,
enumerable: true,
set(v) { srcDesc2.set.call(this, rewriteUrl(v)); },
get() { return srcDesc2.get.call(this); }
});
} catch (e) { /* parent src is non-configurable; rely on setAttribute/MutationObserver */ }
}
// Override img.src property
const imgProto = HTMLImageElement.prototype;
const imgSrcDesc = Object.getOwnPropertyDescriptor(imgProto, 'src') ||
Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'src');
if (imgSrcDesc && imgSrcDesc.set) {
try {
Object.defineProperty(imgProto, 'src', {
configurable: true,
enumerable: true,
set(v) { imgSrcDesc.set.call(this, rewriteUrl(v)); },
get() { return imgSrcDesc.get.call(this); }
});
} catch (e) { /* parent src is non-configurable; rely on setAttribute/MutationObserver */ }
}
// Override setAttribute for video, source, AND img
const origSetAttr = Element.prototype.setAttribute;
Element.prototype.setAttribute = function(name, value) {
if ((name === 'src' || name === 'data-src') && (this.tagName === 'VIDEO' || this.tagName === 'SOURCE' || this.tagName === 'IMG')) {
value = rewriteUrl(value);
}
return origSetAttr.call(this, name, value);
};
// Patch HLS.js if loaded
const origAppendChild = Node.prototype.appendChild;
const origInsertBefore = Node.prototype.insertBefore;
// MutationObserver to catch dynamically added video/source/img elements
const observer = new MutationObserver(mutations => {
for (const mut of mutations) {
for (const node of mut.addedNodes) {
if (node.tagName === 'SOURCE' || node.tagName === 'VIDEO' || node.tagName === 'IMG') {
const s = node.getAttribute && node.getAttribute('src');
if (s) {
const rewritten = rewriteUrl(s);
if (rewritten !== s) origSetAttr.call(node, 'src', rewritten);
}
const ds = node.getAttribute && node.getAttribute('data-src');
if (ds) {
const rewritten = rewriteUrl(ds);
if (rewritten !== ds) origSetAttr.call(node, 'data-src', rewritten);
}
}
if (node.querySelectorAll) {
node.querySelectorAll('source[src], video[src], img[src], img[data-src]').forEach(el => {
const s = el.getAttribute('src');
if (s) {
const rewritten = rewriteUrl(s);
if (rewritten !== s) origSetAttr.call(el, 'src', rewritten);
}
const ds = el.getAttribute('data-src');
if (ds) {
const rewritten = rewriteUrl(ds);
if (rewritten !== ds) origSetAttr.call(el, 'data-src', rewritten);
}
});
}
}
// Also handle attribute changes on existing elements
if (mut.type === 'attributes' && (mut.attributeName === 'src' || mut.attributeName === 'data-src')) {
const el = mut.target;
if (el.tagName === 'IMG' || el.tagName === 'VIDEO' || el.tagName === 'SOURCE') {
const val = el.getAttribute(mut.attributeName);
if (val) {
const rewritten = rewriteUrl(val);
if (rewritten !== val) origSetAttr.call(el, mut.attributeName, rewritten);
}
}
}
}
});
observer.observe(document.documentElement, { childList: true, subtree: true, attributes: true, attributeFilter: ['src', 'data-src'] });
})();
Manuel Skye
Man, Porn actor, 47y
184,967,976185M video views
185M views
41.6k
Gender:
Man
Age:
47 years old
Country:
Canada
Profile hits:
1,950,006
Subscribers:
41,561
Total video views:
184,967,976
:
Signed up:
January 8, 2019 (2,707 days ago)
Last activity:
31 days ago
Worked for/with:
MEN, Petrickgarcia, SayUncle, Falcon Studios Official, Mormonboyz, Christianhupper, Bromo, Heteroflexible, Raging Stallion Official, Tiago Gaucho, Femboyish, Dad Creep, Ronny Aislan Studio, MenAtPlay, CockyBoys, Masqulin, NastyDaddy, Manalized, Noir Male Official, My Friends Feet, Twink Trade, ViktorRom
Manuel Skye was most frequently tagged:
blowjob (690), bareback (684), anal (668), gay (630), stepson (501), family (478), twink (456), stepdad (443), hardcore (413), taboo (410), hunk (363), big-dick (343), stepdad-and-stepson (306), muscle (304), stepdaddy (297)