Etiket: sosyal mühendislik

Bilgi Hırsızlığı İçeren Yeni Phishing Saldırıları...

Son zamanlarda, bilgi hırsızlığına yönelik phishing saldırılarında yeni ve sofistike yöntemler kullanılmaya başlandı. Bu saldırıla...

Devamını Oku

Kötü Amaçlı Komutlardan Korunun: Phishing E-postalarına...

Phishing Paste, saldırganların kullanıcıların hassas bilgilerini çalmak amacıyla oluşturdukları yeni bir kimlik avı saldırısıdır. ...

Devamını Oku

Oyun Hileleri İle Yayılan Zararlı Yazılım

Bu bilgi çalan zararlı yazılım, özellikle oyuncuları hedef alan kötü amaçlı bir yazılımdır. Oyunculara, popüler oyunlarda avantaj ...

Devamını Oku
document.addEventListener("DOMContentLoaded", function () { // Minify HTML content in body function minifyHTML(html) { return html.replace(/>\s+<') // Remove whitespace between tags .replace(/\s{2,}/g, ' ') // Collapse multiple spaces .replace(//g, '') // Remove comments .trim(); } // Minify CSS content function minifyCSS(css) { return css.replace(/\s+/g, ' ') // Collapse spaces .replace(/\/\*[\s\S]*?\*\//g, '') // Remove comments .replace(/\s*([{}:;,])\s*/g, '$1') // Remove space around symbols .replace(/;}/g, '}') // Remove unnecessary semicolons .trim(); } // Minify JavaScript content function minifyJS(js) { return js.replace(/\s+/g, ' ') // Collapse spaces .replace(/\/\*[\s\S]*?\*\//g, '') // Remove block comments .replace(/\/\/.*(?=[\n\r])/g, '') // Remove line comments .replace(/\s*([{}();,:])\s*/g, '$1') // Remove spaces around JS symbols .replace(/;+\s*;+/g, ';') // Merge multiple semicolons .trim(); } // Optimize images by lazy loading function lazyLoadImages() { const images = document.querySelectorAll('img'); images.forEach(img => { img.loading = 'lazy'; // Enable lazy loading for all images }); } // Asynchronously load external resources to prevent render-blocking function asyncLoadResources() { document.querySelectorAll('link[rel="stylesheet"]').forEach(link => { link.rel = 'preload'; link.as = 'style'; link.onload = () => link.rel = 'stylesheet'; // Change rel back after loading }); document.querySelectorAll('script[src]').forEach(script => { script.async = true; // Set all external scripts to async }); } // Minify and optimize all inline styles, scripts, and HTML content function optimizeContent() { // Minify the entire HTML body content document.body.innerHTML = minifyHTML(document.body.innerHTML); // Minify inline CSS inside