Bboystyle
Bang Bang Packers gang!
Call a smartphone the same as GPT AI brehs. My god, kill your nerd self. you looking for petty daps or something?Have a smartphone in your hand don't use it and call someone a dufus.
Call a smartphone the same as GPT AI brehs. My god, kill your nerd self. you looking for petty daps or something?Have a smartphone in your hand don't use it and call someone a dufus.
Is it a cheat code if anyone can do it tho?
It was some months ago but now with it being in front street and the current youth being tech savvy from like 3 years old i doubt there will be that many people that don't try to take advantage of it in some way. Really shyt like this is part of our evolutionBuddy probably thinks ChatGPT is some underground thing
javascript: (function() {
var tiktokUrls = [];
var spans = document.querySelectorAll('span[data-s9e-mediaembed-iframe]');
for (var i = 0; i < spans.length; i++) {
var span = spans[i];
var data = JSON.parse(span.getAttribute('data-s9e-mediaembed-iframe'));
if (data[5].indexOf('\/\/www.tiktok.com\/embed\/') === 0) {
var url = 'https:' + data[5];
if (tiktokUrls.indexOf(url) === -1) {
tiktokUrls.push(url);
}
}
}
for (var i = 0; i < tiktokUrls.length; i++) {
window.open('https://tik.fail/?url=' + tiktokUrls[i]);
}
})();
javascript: (function() { var tiktokUrls = []; var spans = document.querySelectorAll('span[data-s9e-mediaembed-iframe]'); for (var i = 0; i < spans.length; i++) { var span = spans[i]; var data = JSON.parse(span.getAttribute('data-s9e-mediaembed-iframe')); if (data[5].indexOf('\/\/www.tiktok.com\/embed\/') === 0) { var url = 'https:' + data[5]; if (tiktokUrls.indexOf(url) === -1) { tiktokUrls.push(url); } } } for (var i = 0; i < tiktokUrls.length; i++) { window.open('https://tik.fail/?url=' + tiktokUrls[i]); }})();
This updated version of the bookmarklet uses the indexOf method to check if a TikTok URL is already in the tiktokUrls array before adding it. This ensures that there are no duplicate TikTok URLs in the array, so only unique TikTok URLs will be opened in new tabs.
You can use this updated bookmarklet in the same way as the previous one: by creating a new bookmark and pasting the above code into the URL field. Then, when you’re on a page with TikTok URLs, you can click the bookmark to run the bookmarklet and open the unique TikTok URLs in new tabs.
write a bookmarketlet that extractswww.tiktok.com
urls from the html source page and looks similar to this "\/\/"\/\/www.tiktok.com\/embed\/7189755478090566917" and convert to a the properly formatted url"https://www.tiktok.com/embed/7189755478090566917"
. the tiktok url ID will always be unique digits such as "7189755478090566917" is in the example url i provided. the bookmarklet must should usejavascript:void(window.open('https://tik.fail/?url=' + document.location.href));
so that it inserts found tiktok urls likejavascript:void(window.open('https://tik.fail/?url=https://www.tiktok.com/embed/7189755478090566917' + document.location.href));
source page examples are below
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7189755478090566917"]'></span></span></span><br />
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7242633306418728219"]'></span></span></span><br />
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7265074208890228001"]'></span></span></span><br />
<br />
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7257913645940739355"]'></span></span></span><br />
<br />
https://twitter.com/nbcwashington/status/1699945306236887477?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1699945306236887477%7Ctwgr%5E%7Ctwcon%5Es1_&ref_url=
because i wanted them to look like https://twitter.com/nbcwashington/status/1699945306236887477
.. it'll do the same with instagram urls like https://www.instagram.com/oxygen_mas/?utm_source=ig_embed
, https://www.instagram.com/oxygen_mas/?utm_source=ig_embed
and any instgram url that has /p/ , /tv or /reel with "?" in them. basically cleaning them up.copyq:
function onClipboardChanged() {
var text = clipboard().text();
var new_text = text.replace(/(https:\/\/(www\.)?(instagram\.com|twitter\.com)\/[^?]+)\?[^ ]*/g, '$1');
copy(new_text);
}
onClipboardChanged();
copyq:
function onClipboardChanged() {
var text = clipboard().text();
if (text.indexOf('https://www.instagram.com') === 0 || text.indexOf('https://instagram.com') === 0) {
var new_text = text.split('?')[0];
copy(new_text);
} else if (text.indexOf('https://twitter.com/') === 0) {
var new_text = text.split('?')[0];
copy(new_text);
}
}
onClipboardChanged();
The new copyq action code is a script that is designed to automatically modify the text content of the system clipboard whenever it changes.
The script is written in JavaScript and is intended to be used with the copyq clipboard manager application.
Here is a detailed description of what the new copyq action code does:
1. The script defines a function named onClipboardChanged that is called whenever the content of the system clipboard changes.
2. Inside the onClipboardChanged function, the script retrieves the current text content of the clipboard by calling the clipboard().text() method.
3. The script then checks if the text content of the clipboard starts with either 'https://www.instagram.com
' or 'https://instagram.com
'. If it does, then the script proceeds to step 4. Otherwise, if the text content of the clipboard starts with 'https://twitter.com/
', then the script proceeds to step 5.
4. If the text content of the clipboard starts with either 'https://www.instagram.com
' or 'https://instagram.com
', then the script creates a new string by splitting the original text at the first occurrence of '?' and taking only the first part of the resulting array. This effectively removes everything after (and including) the first '?' character from the original text. The script then copies this new string to the system clipboard by calling the copy() function with the new string as its argument.
5. If the text content of the clipboard starts with 'https://twitter.com/
', then the script creates a new string by splitting the original text at the first occurrence of '?' and taking only the first part of the resulting array. This effectively removes everything after (and including) the first '?' character from the original text. The script then copies this new string to the system clipboard by calling the copy() function with the new string as its argument.
After defining the onClipboardChanged function, the script calls it once at the end to ensure that it runs immediately when loaded by copyq. This ensures that any existing text in the system clipboard is processed by the script when it is first loaded.
I hope this helps you understand what this new copyq action code does in detail!
This version uses BBCode tags such as to format text as bold, which should be compatible with XenForo forums. Let me know if this helps!
Gonna start this thread off with CopyQ, which is in my opinion a must have clipboard manager. You can pin/sticky text or images that you use often too. It also works on all desktop OS's.
CopyQ
CopyQ is advanced clipboard manager with editing and scripting features.
Overview
CopyQ monitors system clipboard and saves its content in customized tabs. Saved clipboard can be later copied and pasted directly into any application.
CopyQ Review - Versatile and Multi-Platform Clipboard Manager
edit: forgot to add a screenshot of it's tray icon usage. you can set the amount of recent clipboard items it'll show in the tray icon. i have mines set to 29
{found on google images}
nikka was mad aas fukk.Call a smartphone the same as GPT AI brehs. My god, kill your nerd self. you looking for petty daps or something?
What does a web scraper do?
Vishvanand Subramanian (@vishvanands) on Threads
Before ChatGPT, it took me days to write a non-trivial web scraper. Just used ChatGPT to write a pretty good scraper in 30 min. Great for quickly bypassing div name randomization, understanding schemas or layouts. Web Scraping is a relatively small industry ($500M) but don’t let that fool...www.threads.net
i've created a dozen or so webscrapers too. I am not a programmer, you just need to know how to phrase your request and paste relevant html sourcecode or header info from inspect tool in some cases.
What does a web scraper do?
"When coding related tasks are given, do not write code right away. First plan on what steps are needed to solve the problem in a terse manner. note down your thoughts and then start writing code. unless asked for explanations, don't provide one about the written code or mention about logging or error handling or any other non functional requirements. Unless otherwise mentioned, always print back the whole code including modifications."