The Official Power User Tips, Tricks & Productivity Thread

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,895
Reputation
1,648
Daps
22,838

How to Redirect DuckDuckGo !iv Searches to Invidious using Redirector Extension​


1. Open Redirector Extension Settings​

Go to your browser’s extensions page, locate and open Redirector, and click “Add new redirect” or “Create new rule”.

2. Fill in the Rule Template​


  • Example URL:
    Code:
    https://duckduckgo.com/?q=https://www.youtube.com/watch?v=IrzhdyGy8tU!iv
  • Include Pattern (Regular Expression):
    Code:
    (?:https?://)(?:.*\.)?duckduckgo\.com/(?:\?(?:[^&]*&)*q=|(?:\?|&)q=)(?:.*?(?:youtube\.com/watch\?v=|youtu\.be/))([a-zA-Z0-9_-]{11})(?:.*?)(?:(?:%21|!)iv)(?:\W|$)
  • Redirect To:
    Code:
    https://inv.nadeko.net/watch?v=$1
  • Pattern Type: Regular Expression

3. Explanation of Each Field​

  • Include Pattern:
    This regex matches DuckDuckGo search URLs where the q parameter contains a YouTube link with a video ID, followed by !iv.
    It captures the video ID as $1.
  • Redirect To:
    Inserts the captured YouTube ID into the Invidious template:
    https://inv.nadeko.net/watch?v=$1
    This converts any matched DuckDuckGo search to an Invidious video page.
  • Pattern Type:
    Choose Regular Expression to allow for regex capture groups.

4. Example in Redirector UI​

Code:
Name:         DuckDuckGo !iv to Invidious
Example URL:  https://duckduckgo.com/?q=https://www.youtube.com/watch?v=IrzhdyGy8tU!iv
Include Pattern: (?:https?://)(?:.*\.)?duckduckgo\.com/(?:\?(?:[^&]*&)*q=|(?:\?|&)q=)(?:.*?(?:youtube\.com/watch\?v=|youtu\.be/))([a-zA-Z0-9_-]{11})(?:.*?)(?:(?:%21|!)iv)(?:\W|$)
Redirect to:  https://inv.nadeko.net/watch?v=$1
Pattern type: Regular Expression

5. Save and Test​

  • Click Save.
  • Try searching on DuckDuckGo for:
    Code:
    https://www.youtube.com/watch?v=IrzhdyGy8tU!iv
  • When you visit the search result URL, it will immediately redirect to:
    Code:
    https://inv.nadeko.net/watch?v=IrzhdyGy8tU

Notes​

  • This rule is specific: It only triggers when the URL pattern is matched (YouTube in the q param and !iv present).
  • For additional YouTube formats (like youtu.be shortlinks), you may want to further enhance the pattern. The given pattern covers both full and short YouTube video URLs.



Result:
You can now use any DuckDuckGo search with a YouTube URL and the !iv bang to land on the equivalent Invidious video automatically!
Interesting. I use the nadeko instance when my personal Invidious instance goes down...

Is there a benefit to searching DDG and redirecting to nadeko vs just using `insertQueryHere - Invidious` and/or adding nadeko as a search engine in your browser?
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
Interesting. I use the nadeko instance when my personal Invidious instance goes down...

Is there a benefit to searching DDG and redirecting to nadeko vs just using `insertQueryHere - Invidious` and/or adding nadeko as a search engine in your browser?

some youtube links require login now so since duckduckgo is my default search engine I'm use to using bangs and i've hijacked existing ones with redirector for my own queries. so if i have a youtube link in clipboard I don't want to manually change the domain to a invidious instance i can just do !iv + https://www.youtube.com/watch?v=IrzhdyGy8tU and it'll redirect to that instance. i'll still have the option of searching duckduckgo with a youtube url, going directly to youtube and using a bang to go to an indivdious instance.

I posted the wrong instructions before.


```

How to Redirect DuckDuckGo !iv Searches to Invidious using Redirector Extension​


1. Open Redirector Extension Settings​

Go to your browser’s extensions page, locate and open Redirector, and click “Add new redirect” or “Create new rule”.

2. Fill in the Rule Template​


  • Example URL:
    Code:
    https://duckduckgo.com/?q=%21iv+https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIrzhdyGy8tU&t=ffab
    https://duckduckgo.com/?t=ffab&q=!iv+https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIrzhdyGy8tU
    https://duckduckgo.com/?t=ffab&q=!iv+https://www.youtube.com/watch?v=IrzhdyGy8tU
  • Include Pattern (Regular Expression):
    Code:
    (?:https?://)(?:.*\.)?duckduckgo\.com/(?:\?(?:[^&]*&)*q=|(?:\?|&)q=)(?:%21iv|!iv)(?:\+|%20| )+(?:https(?:%3A%2F%2F|://)www\.youtube\.com(?:%2Fwatch%3Fv%3D|/watch\?v=)|https(?:%3A%2F%2F|://)youtu\.be(?:%2F|/))([a-zA-Z0-9_-]{11})
  • Redirect To:
    Code:
    https://inv.nadeko.net/watch?v=$1
  • Pattern Type: Regular Expression

3. Explanation of Each Field​

  • Include Pattern:
    This regex matches DuckDuckGo URLs where the q parameter starts with !iv (or %21iv), followed by a separator (+, space, or %20), and a YouTube watch URL (in either encoded or plain format).
    It captures the YouTube video ID as $1.
  • Redirect To:
    The captured YouTube ID ($1) is inserted into your preferred Invidious instance:
    https://inv.nadeko.net/watch?v=$1
  • Pattern Type:
    Choose Regular Expression so the rule captures the video ID dynamically.

4. Example in Redirector UI​

Code:
Name:         DuckDuckGo !iv to Invidious
Example URL:  https://duckduckgo.com/?q=%21iv+https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIrzhdyGy8tU
Include Pattern: (?:https?://)(?:.*\.)?duckduckgo\.com/(?:\?(?:[^&]*&)*q=|(?:\?|&)q=)(?:%21iv|!iv)(?:\+|%20| )+(?:https(?:%3A%2F%2F|://)www\.youtube\.com(?:%2Fwatch%3Fv%3D|/watch\?v=)|https(?:%3A%2F%2F|://)youtu\.be(?:%2F|/))([a-zA-Z0-9_-]{11})
Redirect to:  https://inv.nadeko.net/watch?v=$1
Pattern type: Regular Expression

5. Save and Test​

  • Click Save.
  • Test with:
    Code:
    https://duckduckgo.com/?q=%21iv+https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIrzhdyGy8tU
    https://duckduckgo.com/?t=ffab&q=!iv+https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIrzhdyGy8tU
    https://duckduckgo.com/?t=ffab&q=!iv+https://www.youtube.com/watch?v=IrzhdyGy8tU
  • Each will redirect to:
    Code:
    https://inv.nadeko.net/watch?v=IrzhdyGy8tU

Notes​

  • This rule is specific: It triggers only when !iv comes before a YouTube video URL, in encoded or unencoded forms.
  • It supports both full YouTube URLs and youtu.be shortlinks, whether encoded or not.
  • You can further extend the pattern for additional URL/format support if needed.



Result:
Now you can search DuckDuckGo for any YouTube URL prefixed with !iv and be taken instantly to that video on Invidious!
```
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
Archive Links for Images - Userscript Explanation

The "Archive Links for Images" userscript enhances your experience on XenForo forum websites by automatically adding archive options under images in thread posts. When installed in a browser extension like Tampermonkey or Greasemonkey, this script detects images posted in forum threads and adds three clickable links beneath each image:

  • "archive" - Creates a snapshot of the image using the Wayback Machine's save feature
  • "archive.is" - Preserves the image using the Archive.is service
  • "view archive" - Shows previous archived versions of the image from the Wayback Machine

The script is intelligent enough to ignore certain types of images that don't need archiving, such as avatars, profile pictures, site design elements, and other non-content images. It's specifically designed for forum thread pages, targeting only images that appear in the posting area.

When browsing through a forum thread with embedded images, this script helps ensure that important images remain accessible even if the original hosting site removes them later. The script works efficiently by:

  • Only processing each image once
  • Using throttling to prevent excessive CPU usage
  • Handling dynamically loaded images (like those that appear when scrolling)
  • Cleaning up after itself to prevent memory leaks

This provides a seamless way to preserve visual content that might otherwise disappear over time, which is particularly useful for long-running forum threads where older image links might break.

R1vDki9.png





pastebin.com/bnwqUiwB
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
The "nitter custom settings v2" bookmarklet is a browser bookmark that, when clicked on any Nitter instance (an alternative privacy-friendly front-end for Twitter), automatically updates your user settings on that site to your preferred choices—all with one click, no manual changes needed.

Here is a detailed summary of what happens:

What It Does
  • Detects if you're on a Nitter preferences/settings page by looking for the settings form.
  • Reads all the current settings in the form, so it knows your current preferences—including custom fields like "Twitter to Nitter" hostname replacements.
  • Changes certain settings to your preset favorites (like enabling dark mode, infinite scrolling, autoplay for GIFs, etc.), but leaves other fields (like your existing custom hostname fields) unchanged.
  • Keeps all your other, unrelated preferences intact, so nothing else you set up in the form gets lost.
  • Saves these preferences to Nitter by submitting the form data in the background—just like clicking "Save preferences" yourself, but instantly and with no scrolling or clicking required.
  • Displays a notification in the bottom-right corner instead of a pop-up alert, telling you if the update succeeded or failed; this notification is styled to work in both dark and light modes, so it’s always readable.
  • Reloads the page automatically after saving preferences so you immediately see the changes take effect.

In Simple Steps
  1. One-click activation: You click the bookmarklet in your browser when you’re on Nitter.
  2. Prepares your favorite settings: It updates selected display and media options (e.g., dark mode, autoplay GIFs, infinite scroll).
  3. Preserves your custom fields: Existing settings not specified—like custom hostname replacements—are left untouched.
  4. Saves and reloads: It saves your settings and reloads the page so you see the updated look.
  5. Shows confirmation: A temporary notification confirms success or explains any error.

What It Does Not Do
  • It does not overwrite your custom site links (such as Twitter → Nitter address or YouTube → Piped) or other fields you haven’t asked it to change.
  • It does not store or transmit your personal information; it only works within your browser with the Nitter site you’re visiting.

Why Use It?
  • Saves time: Instantly applies your preferred look and behavior to any Nitter site without manual setup.
  • Easy switching: If you use different Nitter instances (because some go offline or are rate-limited), you can "re-apply" your preferences with a single click.
  • No manual errors: No chance of missing an option or making a typo.
  • Non-intrusive: Leaves custom fields and unrelated preferences untouched—unlike some scripts that overwrite everything.

How It Works
  • The bookmarklet is a mini-program written in JavaScript that you save as a bookmark.
  • When you click it, it runs directly in your current browser tab, interacts with the Nitter page, updates only the settings you care about, and gives you clear feedback via a styled notification instead of ugly pop-ups.
  • You can use it on any Nitter site as long as that site follows the standard preferences form layout.

In short:
The "nitter custom settings v2" bookmarklet lets you instantly apply your favorite Nitter display and media settings on any Nitter instance with a single click, preserving your custom link replacements and showing you a modern, easy-to-read notification when done.

add as bookmark:



pastebin.com/54WZYTRG
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
Commented on Created: Thursday, August 24th, 2023 at 5:54:17 AM GMT-04:00


Modified Thursday, August 24th, 2023 at 11:32:21 AM GMT-04:00

Usability

Kill Sticky – Get this Extension for 🦊 Firefox (en-US): Kill off the annoying floating things blocking the website you’re trying to see.
Tranquility Reader – Get this Extension for 🦊 Firefox (en-US): Like native “reader view” but compatible with other addons and more options.
Scroll Zoom – Get this Extension for 🦊 Firefox (en-US): Zoom web pages with the left or right mouse button and the scroll wheel.

Image / Video

Image Max URL – Get this Extension for 🦊 Firefox (en-US): Finds larger/original versions of images (supporting 8800+ websites), including a powerful image popup feature
Invert Image color – Get this Extension for 🦊 Firefox (en-US): The add-on inverts color of an image or color of any part of a page. Changes white color to black, for comfortable night time reading.
Save webP as PNG or JPEG (Converter) – Get this Extension for 🦊 Firefox (en-US): Convert any image (WebP, AVIF, etc.) to PNG or JPEG (with choice of quality) for downloading.
TinEye Reverse Image Search – Get this Extension for 🦊 Firefox (en-US): Click on any image on the web to search for it on TinEye.
Video Speed Controller – Get this Extension for 🦊 Firefox (en-US): Speed up, slow down, advance and rewind any HTML5 video with quick shortcuts.
Enhancer for YouTube™ – Get this Extension for 🦊 Firefox (en-US): Take control of YouTube and boost your user experience!

Tools

EPUBReader – Get this Extension for 🦊 Firefox (en-US): Read ePub files right in Firefox. No additional software needed!
WebStickies – Get this Extension for 🦊 Firefox (en-US): (Persistent) Sticky notes for the Internet

RSS

RSSHub Radar – Get this Extension for 🦊 Firefox (en-US): RSSHub Radar is a spin-off of RSSHub that helps you quickly discover and subscribe to RSS and RSSHub for your current site.
RSSPreview – Get this Extension for 🦊 Firefox (en-US): Preview RSS feeds in-browser

Customization

Stylus – Get this Extension for 🦊 Firefox (en-US): Redesign your favorite websites with Stylus, an actively developed and community driven userstyles manager.
Tampermonkey – Get this Extension for 🦊 Firefox (en-US): Tampermonkey is the world’s most popular userscript manager.

Advanced

Request Control – Get this Extension for 🦊 Firefox (en-US): An extension for controlling requests. See also Redirector – Get this Extension for 🦊 Firefox (en-US), not as powerful, but much more user friendly.
Modify Header Value – Get this Extension for 🦊 Firefox (en-US): Add, modify or remove a header for any request on desired domains. I use this one to force sites to load only the image when opening images in new tabs.
Cookie AutoDelete – Get this Extension for 🦊 Firefox (en-US): Control your cookies! This WebExtension is inspired by Self Destructing Cookies. When a tab closes, any cookies not being used are automatically deleted. Keep the ones you trust (forever/until restart) while deleting the rest. Containers Supported
uBlock Origin – Get this Extension for 🦊 Firefox (en-US): Finally, an efficient wide-spectrum content blocker. Easy on CPU and memory.
uMatrix – Get this Extension for 🦊 Firefox (en-US): [EDIT-WARNING: What are your favourite add-ons/extensions on Firefox? - lemm.ee by https://lemmy.world/u/sovietknuckles@hexbear.net, uMatrix it’s not longer maintained GitHub - gorhill/uMatrix: uMatrix: Point and click matrix to filter net requests according to source, destination and type] Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
for nitter instances removes auto playing gifs

Here is a userscript that creates a floating "RG " button, positioned two places to the right of the bottom left corner. When clicked, it toggles an active mode:
pastebin.com/SsLne7bs
  • Active: It automatically removes all posts containing video.twimg.com%2Ftweet_video%2F or video.twimg.com/tweet_video/ from the DOM (matching .timeline-item, article, or [data-testid="tweet"] selectors).
  • Inactive: It stops removing.
  • The button remains persistent and does not use alerts.
  • Color adapts to dark/light mode.

userscript



pastebin.com/SsLne7bs

How this works:

  • Floating "RG " button appears near bottom left (but offset to the right by ~116px).
  • Click to activate/deactivate.
  • Active: Posts with tweet_video are continually removed.
  • Inactive: No removal, color reflects mode.
  • Button adapts to dark/light mode134.
To use:

  • Save in a userscript manager like Tampermonkey, Greasemonkey, or Violentmonkey.
  • Load a Twitter/X timeline and use the button as described.


edit:

a version of the userscript that catalogs the urls of deleted tweets.


pastebin.com/ZaJSV4fc
 
Last edited:

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
To create a bookmarklet that removes tweets, posts, or timeline items from the DOM if they contain either of these substrings:

  • video.twimg.com%2Ftweet_video%2F
  • video.twimg.com/tweet_video/
you need to:

  • Loop through all timeline post containers (often .timeline-item or similar).
  • For each, check if the HTML contains either substring (look for links, images, or inline text).
  • Remove the DOM node if a match is found.
Here is a concise, copy-paste-ready bookmarklet for this scenario:


javascript


pastebin.com/YECbdS03

Usage:

  1. Copy the entire code (including javascript:smile: into a new bookmark's URL field.
  2. Visit your feed/timeline and click the bookmarklet.
How it works:

  • It scans for elements likely to be tweets or timeline items using selectors like .timeline-item, <article>, and [data-testid="tweet"] (covers most modern Nitter UIs)3.
  • Checks for either exact substring in the full HTML of each item.
  • Removes any matching element from the DOM135.
  • Notifies you of the number of removed items.
Notes:

  • If your Nitter Instance uses different containers, you may need to adjust selectors.
  • This only removes elements from the DOM for your current view/session5.
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
userscript


🅦🅗🅐🅣 🆃🅷🅴 🆄🆂🅴🆁🆂🅲🆁🅸🅿🆃 🅳🅾🅴🆂 🅾🅽 🅼🅴🆃🅰.🅰🅸​

  • Watches for the 🅔🅜🅞🅙🅘 dialogue asking for your 🅰🅶🅴 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽:
    As soon as 🅼🅴🆃🅰.🅰🅸 asks for your birth year (to check 🅰🅶🅴 for 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽), the script detects this popup.
  • Finds and opens the year selector:
    When the dialog appears, the script finds the dropdown asking for your birth year and opens it by sending fake human-like mouse events to mimic real interaction.
  • Searches and scrolls for "1995":
    Since 🅼🅴🆃🅰.🅰🅸 uses a modern, virtual list (not all years are in the page at once), the script scrolls the list and waits until it actually sees "1995" available as a selectable option.
  • Selects "1995":
    Once "1995" is visible, the script clicks it just like a real person would, using all the events required so the 🅼🅴🆃🅰.🅰🅸 website knows your 🅰🅶🅴 is set.
  • Confirms the year is set:
    It checks to see that the picker now shows "1995" as selected, ensuring the 🅰🅶🅴 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 data is registered correctly.
  • Finds and clicks "Continue":
    After confirming your 🅰🅶🅴 is set to "1995", the script waits for the "Continue" button to become clickable, then presses it for you so you can move on.
  • Prevents running multiple times:
    The script remembers (in session storage) that it's already done your 🅰🅶🅴 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 for this session and won’t run again until you reload or start a new session.
  • Shows subtle notifications:
    It displays quick, lightweight emoji-style toasts (little popups) to let you know what it’s doing—setting year, clicking continue—but these disappear on their own and do not interrupt your use.

🅦🅗🅨 🅓🅞 🅣🅗🅘🅢?​

🅼🅴🆃🅰.🅰🅸 requires 🅰🅶🅴 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 as a safety and compliance measure. Having this automated means you never need to manually deal with this gatekeeper step again—even if the dropdown is fancy, hidden, or virtual.

🅗🅞🅦 🅞🅑🅕🆄🆂🅲🅰🆃🅸🅞🅝 𝙒𝙊𝙍𝙆𝙎​

  • The script simulates real events on the 🅼🅴🆃🅰.🅰🅸 site, which is needed for React and similar modern web apps.
  • It’s robust against AJAX and “virtual” (not always-visible) lists, meaning it reliably sets your 🅰🅶🅴 for 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 even if not everything is visible in the page code.
  • It stays out of the way the rest of the time, only acting when the 🅰🅶🅴 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 dialog appears.

🅘🅝 🅢🅘🅜🅟🅛🅔 🅣🅔🅡🅜🅢​

This script auto-fills your 🅰🅶🅴 for 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 on 🅼🅴🆃🅰.🅰🅸. When prompted, it opens the year menu, finds and chooses "1995" (even if offscreen or hidden at first), presses "Continue", and lets you use the site—all without you doing anything.
It handles all the tricky new UI stuff, so you never have to fight with 🅼🅴🆃🅰.🅰🅸's 🅰🅶🅴 🆅🅴🆁🅸🅵🅸🅲🅰🆃🅸🅾🅽 popup yourself!

Obfuscation performed by replacing the key word’s letters with corresponding emoji-style boxed characters, as recommended for privacy and content obfuscation workflows15.


pastebin.com/rRxK06Yc
 
Last edited:

Heimdall

Under His Eye
Joined
Dec 13, 2019
Messages
608
Reputation
363
Daps
1,381
YouTube keeps recommending me videos that have like no views or came out 2 hours ago :dahell:
loool so it wasn't just me - I just came across a userscript that addresses this:


Upgraded my openwrt router to have 512MB RAM and 4GB storage. Probably overkill for my needs. Projects coming down the pipeline:
  • Set up unbound to bring external DNS in-house
  • Buy a VPS and setup tailscale to encrypt my traffic so that my ISP can't stalk me
  • Set up a VLAN for personal devices I don't trust
I was going to say (if you haven't already done this!), I saved some bookmarks for cheap VPSes here:

I recently tweaked my Tailscale setup so I can fully replace OpenVPN (I didn't mind the redundancy, but I don't need it tbh). I also discovered Tailscale Funnels which can apparently be used as reverse proxies (which is something which for some reason I have struggled to get my head around but ChatGPT gave me a nice explanation :mjgrin:) which I intend to try after I have finished setting up the next VM on my homelab.
 

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,895
Reputation
1,648
Daps
22,838
I was going to say (if you haven't already done this!), I saved some bookmarks for cheap VPSes here:

I recently tweaked my Tailscale setup so I can fully replace OpenVPN (I didn't mind the redundancy, but I don't need it tbh). I also discovered Tailscale Funnels which can apparently be used as reverse proxies (which is something which for some reason I have struggled to get my head around but ChatGPT gave me a nice explanation :mjgrin:) which I intend to try after I have finished setting up the next VM on my homelab.
Great minds think alike:
QsX5VCr.png
With the extra RAM on my router tho, I used a beefier blocklist which flagged just how much tracking tailscale does via `log.tailscale.com`. They also hijack your `resolv.conf` file typically which allows them to 'conveniently' log your DNS traffic even when your cnxn is down. I block the logging via AdGuard Home, but plan on jumping to headscale on the VPS now.

Let me know the use case for the the funnels. Currently I live alone and can access my server anywhere w/ traditional tailscale (soon to be headscale) so I'm curious what the extra functionality entails
 

Heimdall

Under His Eye
Joined
Dec 13, 2019
Messages
608
Reputation
363
Daps
1,381
Great minds think alike:
With the extra RAM on my router tho, I used a beefier blocklist which flagged just how much tracking tailscale does via `log.tailscale.com`. They also hijack your `resolv.conf` file typically which allows them to 'conveniently' log your DNS traffic even when your cnxn is down. I block the logging via AdGuard Home, but plan on jumping to headscale on the VPS now.

Let me know the use case for the the funnels. Currently I live alone and can access my server anywhere w/ traditional tailscale (soon to be headscale) so I'm curious what the extra functionality entails
Wow, I was not aware of this at all! I checked Pi-Hole and yes, lots of these entries as well. :patrice:

It is possible to disable it from within Tailscale for most of the clients, so I've done this (I did have to fix the resolv.conf on my main node though), while blocking it from the hosts file on my phone as well as Pi-Hole.

edit: Checked again in the light of day. Laptop doesn't like that URL being blocked despite logging being disabled, so I've unblocked it for now.

A CLI to-do list app, interesting. Is that an urgency metric on the end?

So you can use it to expose local services to the internet. An example may be something like Nitter if you still have an instance, or Hoarder/Karakeep, which I use a lot but only on LAN. With a funnel, I should be able to access it from outside (anywhere, really) using just the MagicDNS URL (if I have understood the documentation) without having to connect to the tailnet directly, and without needing to set up something like nginx or Caddy. Connecting to Tailscale is simple enough, though with a funnel I wouldn't need to bother with subnet routes if I wanted to access a specific service, instead just using the MagicDNS URL (and port).

Or perhaps I could use it for my Rustdesk server, so I wouldn't need to forward ports or use DDNS any more 🤔
 
Last edited:

Heimdall

Under His Eye
Joined
Dec 13, 2019
Messages
608
Reputation
363
Daps
1,381

New TikTok redirect alert 🌠

ProxiTok hasn't been working properly for some time, but this one is okay, and can be added to LibRedirect (etc.) as a custom option easily.
Sticktock and ProxiTok seem to be dead fyi, but Offtiktok (also an option in LibRedirect) is working well
Revisiting YouTube's memory usage, I think the memory leaks in my case were due to this userscript: Login reminder popup remover (developement ceased - not up to date)

which I have now disabled (Google Shut Up! should suffice if I am ever not logged in, and I now have redirects for the other sites not covered)

edit: actually I was still seeing high memory usage on playlist pages. I think this was caused by an old version of this userscript which I have now updated: Suppress YouTube Playlist links

The one in the quote is still necessary... maybe? I'm still using it atm anyway

edit2: actually no, I'm now using these two userscripts from the same person:
YouTube has been extra :trash: for me lately, it just keeps leaking :mad:

I've had to disable Tracking Protection and uBlock Origin, change the user agent to Chrome and try to minimise the tweaks in Untrap.

Also trying a different userscript now, though it pertains to CPU usage:
 
Last edited:

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
Here is the full redirector rule in a clear, human-readable format:
Description:
Redirect TikTok video URLs to Offtiktok (removes subdomain, keeps video path, strips query/hash).
Example URL:
https://www.tiktok.com/@xiandivyne/video/7515618159068450079?is_copy_url=1
Include pattern:
^(https?://)(?:[a-z0-9-]+.)?tiktok.com(/@[^/]+/video/\d+)
Redirect to:
$1offtiktok.com$2
Pattern type:
Regular Expression
Pattern Description:
Redirects TikTok video pages from any subdomain to offtiktok.com, preserving the path and video ID, and removing query parameters and fragments.
Example result:
https://offtiktok.com/@xiandivyne/video/7515618159068450079
Exclude pattern:
(leave blank)
Process matches:
No Processing
Apply to:
Main window (address bar)
(You may check other boxes as needed, but "Main window" is typical)
Summary:
This rule will take any TikTok video URL (from any subdomain), strip query/hash, and send you to the same path on offtiktok.com.


also apply it to HistoryState



 
Last edited:

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,895
Reputation
1,648
Daps
22,838
Wow, I was not aware of this at all! I checked Pi-Hole and yes, lots of these entries as well. :patrice:

It is possible to disable it from within Tailscale for most of the clients, so I've done this (I did have to fix the resolv.conf on my main node though), while blocking it from the hosts file on my phone as well as Pi-Hole.
Same. I've got logging disabled in Tailscale's conf files but they still log, just less frequently so I block it in AGH as well.
edit: Checked again in the light of day. Laptop doesn't like that URL being blocked despite logging being disabled, so I've unblocked it for now.

A CLI to-do list app, interesting. Is that an urgency metric on the end?
Yessir. You can also edit/create custom scores as well. It's a time suck tweaking things but works out in the long run
So you can use it to expose local services to the internet. An example may be something like Nitter if you still have an instance, or Hoarder/Karakeep, which I use a lot but only on LAN. With a funnel, I should be able to access it from outside (anywhere, really) using just the MagicDNS URL (if I have understood the documentation) without having to connect to the tailnet directly, and without needing to set up something like nginx or Caddy. Connecting to Tailscale is simple enough, though with a funnel I wouldn't need to bother with subnet routes if I wanted to access a specific service, instead just using the MagicDNS URL (and port).

Or perhaps I could use it for my Rustdesk server, so I wouldn't need to forward ports or use DDNS any more 🤔
Ahhh interesting. Probably excessive for my needs, but good to get a better grasp of funnels. It sounds like a traditional reverse proxy exposure levels, but also using tailscale on the backend so likely harder to screw things up re:security
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
65,959
Reputation
10,183
Daps
178,748
Wow, I was not aware of this at all! I checked Pi-Hole and yes, lots of these entries as well. :patrice:

It is possible to disable it from within Tailscale for most of the clients, so I've done this (I did have to fix the resolv.conf on my main node though), while blocking it from the hosts file on my phone as well as Pi-Hole.

edit: Checked again in the light of day. Laptop doesn't like that URL being blocked despite logging being disabled, so I've unblocked it for now.

A CLI to-do list app, interesting. Is that an urgency metric on the end?

So you can use it to expose local services to the internet. An example may be something like Nitter if you still have an instance, or Hoarder/Karakeep, which I use a lot but only on LAN. With a funnel, I should be able to access it from outside (anywhere, really) using just the MagicDNS URL (if I have understood the documentation) without having to connect to the tailnet directly, and without needing to set up something like nginx or Caddy. Connecting to Tailscale is simple enough, though with a funnel I wouldn't need to bother with subnet routes if I wanted to access a specific service, instead just using the MagicDNS URL (and port).

Or perhaps I could use it for my Rustdesk server, so I wouldn't need to forward ports or use DDNS any more 🤔

just causally dropping the name of an app that should have a post made about it :gucci:

never heard of it before the search functions looks limited but looks good overall :ehh: . whats the memory usage and disk space requirements like?


The Bookmark Everything App​

Quickly save links, notes, and images and karakeep will automatically tag them for you using AI for faster retrieval. Built for the data hoarders out there!
Try Demo
GitHub
screenshot


Bookmark​

Bookmark links, take simple notes and store images and pdfs.

AI Tagging​

Automatically tags your bookmarks using AI for faster retrieval.

Auto Fetch​

Automatically fetches title, description and images for links.

Lists​

Sort your bookmarks into lists for better organization.

Search​

Search through all your bookmarks using full text search.

Self Hosting​

Easy self hosting with docker for privacy and control.

Bulk Actions​

Quickly manage your bookmarks with bulk actions.

Dark Mode​

Karakeep supports dark mode for better reading experience.
 
Top