This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const regex = /\.profile_view_img_(.*?) { background-image: url\('https:\/\/www\.like4like\.org\/img\/(.*?)'\);/g; | |
const str = document.body.innerHTML; | |
let m; | |
while ((m = regex.exec(str)) !== null) { | |
// This is necessary to avoid infinite loops with zero-width matches | |
if (m.index === regex.lastIndex) { | |
regex.lastIndex++; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!function_exists("extDetect")) { | |
function extDetect($filename) | |
{ | |
$ext = pathinfo($filename, PATHINFO_EXTENSION); | |
// dd($ext); | |
return fileTypeDetect($ext); | |
} | |
} |