mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-03 01:30:11 +00:00
rm : useless js function
This commit is contained in:
parent
7d67ae2562
commit
279bdf8c7e
@ -16,15 +16,6 @@ Element.prototype.requestFullscreen = function() {
|
||||
Element.prototype.requestPointerLock = function() {
|
||||
console.log('Blocked pointer lock');
|
||||
};
|
||||
// Block iframe creation (optional, since browser already blocks these)
|
||||
const originalCreateElement = document.createElement;
|
||||
document.createElement = function(tagName) {
|
||||
if (tagName.toLowerCase() === 'iframe') {
|
||||
console.log('Blocked iframe creation');
|
||||
return null;
|
||||
}
|
||||
return originalCreateElement.apply(this, arguments);
|
||||
};
|
||||
//block fetch
|
||||
window.fetch = function() {
|
||||
console.log('Blocked fetch request');
|
||||
|
Loading…
x
Reference in New Issue
Block a user