Run quick actions on your active browser tab
Go to file
2023-08-23 06:42:24 -04:00
Libs initial commit 2023-07-01 01:00:58 -04:00
.gitignore initial commit 2023-07-01 01:00:58 -04:00
icon.ico initial commit 2023-07-01 01:00:58 -04:00
open-browser-tab-with.ahk initial commit 2023-07-01 01:00:58 -04:00
README.md updated readme with updated links 2023-08-23 06:42:24 -04:00

Open Current Browser Tab WITH

A simple Autohotkey script that adds keyboard shortcuts for executing various actions on your active browser tab, including:

  • Open with different browser (Chrome, Firefox, Brave, etc)
  • Open on different device through KDE-Connect
  • Save to Pocket
  • Save to Wallabag
  • Send to a Telegram channel using a bot
    • handy for saving a page for later without getting forgotten in bookmarks
  • Quick copy URL to clipboard
  • Open Archived version through Archive.org
  • Download Video or Audio using yt-dlp

Default Keyboard Shortcuts

(Can be customized by editing the .ahk file)
  • Alt + M: Send to Telegram Channel

  • Alt + P: Save Page to Pocket

  • Alt + X: Copy URL to Clipboard

  • Open Tab in Another Browser

    • Alt + F: Firefox

    • Alt + Shift + F: Firefox Private

    • Alt + C: Chrome

    • Alt + Shift + C: Chrome Incognito

    • Alt + B: Brave

    • Alt + Shift + B: Brave Incognito

  • Open Archived Version Through Archive.org

    • Alt + A: Open in same Same Tab

    • Alt + Shift + A: Open Page in New Tab

  • Open on Different Device using KDE-Connect

    • Alt + O: Open with KDE-Connect Device One

    • Alt + Shift + O: Open with KDE-Connect Device One

  • Download Video using yt-dlp

    • Alt + Y: Download Video

    • Alt + Shift + Y: Download Video's Audio

Installation

  1. Make sure you have autohotkey installed

  2. If you have git installed:

git clone https://git.zinchuk.xyz/yuriy/Open-Browser-Tab-With.git

Otherwise:

Click Download and then select zip

Extended Functionality Configuration

Open Tab on Different Device(s) using KDE-Connect

  • Install KDE-Connect: https://kdeconnect.kde.org/download.html
  • Get device IDs by running the following in Comamnd Prompt: "C:\Program Files\KDE Connect\bin\kdeconnect-cli.exe" -l
  • Set the KDEConnectDeviceOne\Two\Three in KDE Connect Settings section of the .ahk script to the device ID of each device you want to send to

Save Tab URL to Pocket

Send Tab URL to a Telegram Channel

Download Video with yt-dlp

  • Install yt-dlp

    • Using Chocolatey: choco install yt-dlp

    • OR Manually

  • Update the yt-dlp Settings section of the .ahk script to match your video/audio quality preferences

    • By default video is 720p and audio is "BEST"

Add Another Browser to Open Tabs With

  • Add your browser's filepath to the Filepaths of Browsers section below the others
  • Add your browser's ahk_exe info below the other browsers in Trigger Within Applications section by using Window Spy.ahk (comes installed with Autohotkey)
  • Change the function call to reflect your new browser
    • eg: OpenWithBrowser(Firefox) >> OpenWithBrowser(YourCustomBrowser)