| // ==UserScript== | |
| // @name TweetXer | |
| // @namespace https://github.com/lucahammer/tweetXer/ | |
| // @version 0.9.3 | |
| // @description Delete all your Tweets for free. | |
| // @author Luca,dbort,pReya,Micolithe,STrRedWolf | |
| // @license NoHarm-draft | |
| // @match https://x.com/* | |
| // @match https://mobile.x.com/* | |
| // @match https://twitter.com/* |
Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.
The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060, which represents November 28th, 2018 at 09:01:00 hours for my local time zone (GMT+0100 Central European Standard Time).
| Style | Input | Output (12-hour clock) | Output (24-hour clock) |
|---|---|---|---|
| Default | <t:1543392060> |
November 28, 2018 9:01 AM | 28 November 2018 09:01 |
| /* | |
| * A script to delete all videos from a Tittok account | |
| * | |
| * Before running: | |
| * 1. Log into your Tiktok account in a browser (tested with Firefox) | |
| * 2. Navigate to the View Profile | |
| * 3. Open the developer tools in the browser to inspect the URLs of the requests (Network tab in Firefox) | |
| * 4. Click on one of the videos and delete it | |
| * 5. In the developer tools, find the last POST request with a URL that starts with https://m.tiktok.com/api/aweme/delete | |
| * 6. Copy the URL into the script below into the line that starts with 'const url'. Replace the value of aweme_id and target with: " + id + " |
| #Requires -RunAsAdministrator | |
| # Unlock-PowerCfg - v22.05.11 | |
| # Disable "Connected Standby" | |
| Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Power' -Name 'CSEnabled' -Value 0 -Force | |
| # Get Power Settings entries and add/set 'Attributes' to 2 to unhide | |
| $PowerCfg = (Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerSettings' -Recurse).Name -notmatch '\bDefaultPowerSchemeValues|(\\[0-9]|\b255)$' | |
| foreach ($item in $PowerCfg) { Set-ItemProperty -Path $item.Replace('HKEY_LOCAL_MACHINE','HKLM:') -Name 'Attributes' -Value 2 -Force } |
| var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;}); |
Note
More information you can find on Microsoft documentation.
Tip
You can install all Visual C++ Redistributable Packages using only one command with winget! https://gist.github.com/ChuckMichael/d4221fd8681a7e962c8d37d623ff3145
- x64 8.0.61000 (EOL)
Microsoft.VCRedist.2005.x64
| // // https://twitter.com/settings/your_twitter_data/twitter_interests | |
| // Lots of discussion and improvement of the original script in the comments | |
| // Here's the best version that works well | |
| // Because Twitter stops the script working after unchecking 50 interests, so you will almost certainly have to run the script multiple times | |
| function sleep(milliseconds) { | |
| return new Promise(function (resolve) { | |
| return setTimeout(resolve, milliseconds); | |
| }); |
See comments section for more up-to-date versions of the script. The original script is from 2014 and will not work as is.
- Open news feed preferences on your Facebook menu (browser)
- Click people or pages
- Scroll down (or click see more) until your full list is loaded
- Run the script in your browser console
Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.
