Skip to content

Instantly share code, notes, and snippets.

@thanhlongzzz
thanhlongzzz / printerestdownloader.js
Last active December 23, 2023 04:00
printerest downloader script
//login printerest => search a keyword => F12 => paste this script to console
function getLargestUrl(srcset) {
const urls = srcset.split(', ');
// Extract width and URL for each entry
const entries = urls.map(entry => {
const [url, widthString] = entry.split(' ');
const width = parseInt(widthString, 10);
return {
@thanhlongzzz
thanhlongzzz / freepik_downloader.js
Last active December 7, 2023 11:45
download raw images (no watermark ) from a freepik.com page, F12 -> Console -> paste script and enjoy
//eg: https://www.freepik.com/free-photos-vectors/noel-background/5
function getUniqueUrls(urlList) {
const urlSet = new Set();
// Iterate through the list and add unique URLs to the set
urlList.forEach(url => {
// Check if the URL is not already in the set
if (!urlSet.has(url)) {
UPDATE_CONFIG
$remoteControlToken = A70_lskdnfjsdsdsdksbdfskjfn
$remoteControlInterval = 80000
$testKey2 = long
$alo = hihi
$loadFromUrl = {"url": "https://example.com/script_examples.txt","filename": "script_examples.txt"}

Keybase proof

I hereby claim:

  • I am thanhlongzzz on github.
  • I am thanhlongzzz (https://keybase.io/thanhlongzzz) on keybase.
  • I have a public key ASDF8UVVKtsyLVLYEsJlfrCaqS8PR-mYQ5lr7_235kBggwo

To claim this, I am signing this object:

@thanhlongzzz
thanhlongzzz / chụy google
Last active July 19, 2017 07:01
chụy google index
<html>
<head>
<script>
if (typeof rvAgentPlayer !== 'undefined') {
throw new Error('ResponsiveVoice Website Agent is already running');
}
var rvAgentPlayer = {
version: 1
};
A1 B1 C1 D1 E1 F1
A2 B2 C2 D2 E2 F2
A3 B3 C3 D3 E3 F3
A4 B4 C4 D4 E4 F4
A5 B5 C5 D5 E5 F5