• Community
    • Community
    • Vivaldi Social
    • Blogs
  • Forum
    • Vivaldi Forum
    • Categories
    • Recent
    • Popular
  • Themes
    • Vivaldi Themes
    • My Themes
    • FAQ
  • Contribute
    • Contribute
    • Volunteer
    • Donate
  • Browser
    • Vivaldi Browser
    • Latest News
    • Snapshots
    • Help
Register Login

Vivaldi

  • Community
  • Themes
  • Contribute
  • Browser

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Let's talk about Vivaldi
    3. Tips & Tricks
    4. Command Chain Recipes

    Command Chain Recipes

    Scheduled Pinned Locked Moved Tips & Tricks
    235 Posts 45 Posters 73.0k Views 34 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mioni
      M
      Mioni
      last edited by

      I need to take the link from the news and open a site to remove the paywall, can I do this via chain?

      The site to remove the paywall is: https://leiaisso.net

      MasterLeo29
      M
      1 Reply Last reply
      Reply Quote 0
    • MasterLeo29
      M
      MasterLeo29 Ambassador @Mioni
      last edited by

      @Mioni the easier way would be to wait a bit for the snapshot version to hit stable. In there, when you use a chain command in a context menu you have access to special variables, like {page_url} (your use case).

      With that, a chain with 1 step of 'open link in new tab' with value as 'https://leiaisso.net/{page_url}' would do the trick.
      4fba3a40-a8f9-40af-b62e-fc35a1c14f13-image.png

      Then, customize the menu for when you right click a link (for example) and add it there.

      55ed699d-2d61-4737-b740-f98c67bd9618-image.png

      finally, on a news site, right click on the article's link you wanna read and pick the chain.
      b4eaa02e-d559-46ad-abd1-3a0a1ed3c6f7-image.png

      Mioni
      M
      1 Reply Last reply
      Reply Quote 4
    • Mioni
      M
      Mioni @MasterLeo29
      last edited by

      @MasterLeo29 Thanks! I'll be waiting 🥳

      1 Reply Last reply Reply Quote 0
    • luetage
      L
      luetage Supporters Soprano
      last edited by luetage

      Embed Youtube: takes the current video and opens it embed.

      1. Open Link in Current Tab
        Parameter: javascript:(()=>{const url=new URL(window.location.href);window.open(`${url.origin}/embed/${url.search.split("=")[1]}`,"_self")})();
      {"category":"CATEGORY_COMMAND_CHAIN","chain":[{"defaultValue":"https://vivaldi.com","key":"0b01337b-4c13-4197-90c8-179c5c91cfff","label":"Open Link in Current Tab","name":"COMMAND_OPEN_LINK_CURRENT","param":"javascript:(()=>{const url=new URL(window.location.href);window.open(`${url.origin}/embed/${url.search.split(\"=\")[1]}`,\"_self\")})();"}],"key":"9bfc5d43-2fbc-4aa2-a1af-9935cca9e07f","label":"Embed Youtube","name":"COMMAND_9bfc5d43-2fbc-4aa2-a1af-9935cca9e07f"}
      

      github ◊ vfm

      1 Reply Last reply Reply Quote 6
    • V
      V1valdiFan
      last edited by

      Hello. Please advise if it is possible to create a chain of commands for:

      1. Search selected text in Google in background tab?
      2. Save a picture to a certain folder or open a picture in the background tab?
        In order to hang these chains on mouse gestures.
        Earlier I used to use "smartUP gestures" extension for this purpose (it's cramped like many other similar extensions), but I switched to gorgeous native mouse gestures.

      I couldn't find it at random. Thank you in advance.

      1 Reply Last reply Reply Quote 0
    • mikeyb2001
      M
      mikeyb2001 Supporters Ambassador
      last edited by

      heres something you guys might appreciate

      1.Vivadi help
      2.open link in new tab Parameter:https://forum.vivaldi.net
      3.Tile Vertically

      and if you want you can Remap F1 to execute the command Chain and replace the help link with the command in the context menu

      Michael Burke
      Vivaldi Links 🔗 Search Engine collection Windows 10(Laptop)|Android 15(Mobile)

      luetage
      L
      1 Reply Last reply
      Reply Quote 0
    • luetage
      L
      luetage Supporters Soprano @mikeyb2001
      last edited by

      @mikeyb2001 See ☛ https://forum.vivaldi.net/post/717847. It’s already linked from the first post.

      github ◊ vfm

      mikeyb2001
      M
      2 Replies Last reply
      Reply Quote 0
    • mikeyb2001
      M
      mikeyb2001 Supporters Ambassador @luetage
      last edited by

      @luetage woops didnt remember sharing that already

      Michael Burke
      Vivaldi Links 🔗 Search Engine collection Windows 10(Laptop)|Android 15(Mobile)

      1 Reply Last reply Reply Quote 0
    • mikeyb2001
      M
      mikeyb2001 Supporters Ambassador @luetage
      last edited by

      @luetage here i am thinking im being helpful and im either skipping steps or repeating myself wth is wrong with me

      Michael Burke
      Vivaldi Links 🔗 Search Engine collection Windows 10(Laptop)|Android 15(Mobile)

      Pesala
      P
      1 Reply Last reply
      Reply Quote 0
    • Pesala
      P
      Pesala Ambassador @mikeyb2001
      last edited by

      @mikeyb2001 Getting old?

      Blog • Vivaldi Review • Server Status
      Win 10 64-bit build 19045.2486 • Snapshot 7.5.3725.3 (64-bit)

      mikeyb2001
      M
      1 Reply Last reply
      Reply Quote 0
    • mikeyb2001
      M
      mikeyb2001 Supporters Ambassador @Pesala
      last edited by

      @Pesala 33 thank you very much. Not that old

      Michael Burke
      Vivaldi Links 🔗 Search Engine collection Windows 10(Laptop)|Android 15(Mobile)

      1 Reply Last reply Reply Quote 1
    • luetage
      L
      luetage Supporters Soprano
      last edited by luetage

      Tile Link (with keyboard shortcut)

      We can do this from the right-click menu with a native parameter ({link_url}). When using a keyboard shortcut to trigger the chain, a bookmarklet is needed. Hover with the mouse cursor over a link and use a keyboard shortcut to execute (or open quick commands and execute the command chain from there). The delay might have to be adjusted depending on usage. 1000ms ⏱ should be safe, but on some pages it might need more.

      1. Open Link in Current Tab
        Parameter: javascript:(()=>{const hover=document.querySelectorAll(":hover");for(let i=hover.length-1;i>=0;i-=1){if(hover[i].hasAttribute("href")){window.open(hover[i].href,"_blank");return}}history.replaceState({},"",location.href)})();
      2. Delay
        Parameter: 1000
      3. Tile to Grid
      {"category":"CATEGORY_COMMAND_CHAIN","chain":[{"defaultValue":"https://vivaldi.com","key":"0b01337b-4c13-4197-90c8-179c5c91cfff","label":"Open Link in Current Tab","name":"COMMAND_OPEN_LINK_CURRENT","param":"javascript:(()=>{const hover=document.querySelectorAll(\":hover\");for(let i=hover.length-1;i>=0;i-=1){if(hover[i].hasAttribute(\"href\")){window.open(hover[i].href,\"_blank\");return}}history.replaceState({},\"\",location.href)})();"},{"defaultValue":1000,"key":"2eb81004-6703-46db-9933-6afcfde924e4","label":"Delay","name":"COMMAND_CHAINED_SLEEP","param":1000},{"key":"83c2d2d0-a53b-4521-82b5-4c2e61ed024b","label":"Tile to Grid","name":"COMMAND_TAB_STACK_TILE_GRID"}],"key":"7bf717f6-b441-4a48-8094-ab3dd683a7a5","label":"Tile Link","name":"COMMAND_7bf717f6-b441-4a48-8094-ab3dd683a7a5"}
      

      github ◊ vfm

      barbudo2005
      B
      2 Replies Last reply
      Reply Quote 0
    • barbudo2005
      B
      barbudo2005 @luetage
      last edited by

      @luetage

      Is it possible to send keys in a Command Chain?

      Like this in AHK (or a number):

      Send, {LButton}
      
      1 Reply Last reply Reply Quote 0
    • barbudo2005
      B
      barbudo2005 @luetage
      last edited by

      @luetage

      I remind you of this question.

      luetage
      L
      1 Reply Last reply
      Reply Quote 1
    • luetage
      L
      luetage Supporters Soprano @barbudo2005
      last edited by

      @barbudo2005 lol, sorry. No, I can’t think of a way right now. You can simulate key and mouse events through Javascript and you can obviously give that a try, it’s not complicated, but I think it’s deemed insecure and therefore won’t work from a bookmarklet.

      github ◊ vfm

      1 Reply Last reply Reply Quote 1
    • nomadic
      N
      nomadic Soprano
      last edited by

      Share Current Page with OS Share Menu

      This command chain makes it easier to share a link with additional details (when supported). It will pull the current tab's URL, title, and og:description ( a short description of the webpage's contents that page owners can choose to provide) and pass them to the OS' share dialog that can redirect you to various apps and websites where you might want to share the link.

      Command Chain:

      1. Open Link in Current Tab
        Parameter: javascript:(()=>{if(navigator.share){navigator.share({title:document.title,text:document.querySelector('meta[property="og:description"]')?.content,url:location.href}).then(()=>{history.replaceState({},"",location.href)})}})();
      1 Reply Last reply Reply Quote 4
    • luetage
      L
      luetage Supporters Soprano
      last edited by

      Notice for Linux users, who would want to give this command chain a try: navigator.share doesn’t work on Chromium yet, therefore it won’t do anything.

      github ◊ vfm

      1 Reply Last reply Reply Quote 2
    • Granite1
      G
      Granite1 @erazer101
      last edited by Granite1

      @erazer101 Thanks for the HotkeyHighlightSearch command chain, very useful. Am I right when I say a single key shortcut, instead of a "normal shortcut like CTRL+Q, does not work?

      1 Reply Last reply Reply Quote 0
    • Granite1
      G
      Granite1 @luetage
      last edited by

      @luetage Thanks for the DeepL command chain.

      You also stated:

      command chains have replaced bookmarklets

      I have a bookmarklet that kills so-called stickies on a webpage, like a pop-up at the bottom of the page.

      I don't know which command to use for that. This is the parameter:

      javascript:(function%20()%20{%20var%20i,%20elements%20=%20document.querySelectorAll('body%20*');%20%20for%20(i%20=%200;%20i%20<%20elements.length;%20i++)%20{%20if%20([%22sticky%22,%20%22fixed%22].includes(getComputedStyle(elements[i]).position))%20{%20elements[i].parentNode.removeChild(elements[i]);%20}%20}%20})();
      
      luetage
      L
      1 Reply Last reply
      Reply Quote 0
    • Granite1
      G
      Granite1 @luetage
      last edited by

      @luetage re your command chain Copy Page Address, can you tell me where to add the code?

      I ask because after command 6, Focus Page, there is no box to add the code.

      nomadic
      N
      1 Reply Last reply
      Reply Quote 0
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 9 / 12
    • First post
      Last post

    Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status