• 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 85.6k 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.
    • luetage
      L
      luetage Supporters Soprano
      last edited by luetage

      This topic is meant to be a place to both collect recipes and ask for advice. Following an overview of all command chains we have accumulated so far:

      Collection

      • Add Post Search
      • Autofill Form Input Fields and Select
      • Capture and Tweet
      • Clone Tab and Tile Horizontally
      • Clone Pinned Tab and Unpin it
      • Close Active Panel
      • Close Stack
      • Close Tab Move Left/Right
      • Copy Page Address
      • Copy Page Title
      • Copy URL & Title of Current Page in Rich Text Format
      • Create Bookmark Open Dropdown
      • Cup Noodles Timer
      • Dark (Invert)
      • DeepL
      • Embed Youtube
      • Enhanced Fullscreen
      • Follow PiP
      • Follow and Tile
      • History Panel Select All
      • HotkeyHighlightSearch
      • Inspect UI
      • Mail Mode/Exit Mail Mode
      • Netflix Mode
      • New Stacked Tab
      • New Top Level Tab at End
      • Open Clipboard in New Tab
      • Open Selection
      • Open Vivaldi Help and Forum
      • Periodic Reload Context Menu (Custom)
      • Publication Date of Article
      • Reverse Image Search
      • Romantic
      • Rotate Page (Image)
      • Save Tab Stack as Session
      • Scroll Up / Scroll Down
      • Search 2 Engines with Selection and Tile
      • Search Query in 3 Different Engines
      • Share Current Page with OS Share Menu
      • Switch Tab and Mute Others
      • Tab Scroll
      • Tab Scroll Smooth
      • Tile and Deselect
      • Tile Link
      • Translate and Tile
      • Translate and Tile with Different Source Language
      • Watch Amazon Prime + Tweetdeck as Webpanel

      Backup and Share

      Command Chains are not part of Vivaldi Sync. This means we lose our chains when we setup a new profile, or create a separate installation. Inputting everything again is tiresome, especially with a big chain collection. Fortunately @tam710562 has created a custom modification, which can both import and export command chains from and to files and the clipboard. This makes it possible to share chains directly, because he has even coded a direct install button for command chains shared on the forum. It’s definitely worth it and a big help and I would urge you to try it out, even if you haven’t bothered with Javascript modifications before. Here a link to the modification ☛ https://forum.vivaldi.net/post/723047, and here a link to the modifications forum board ☛ https://forum.vivaldi.net/category/52/modifications. Read pinned topics for introduction and help.


      Please feel free to share your recipes! This new feature has potential, we should put it to good use and push its limits ⛓️⚡💨

      github ◊ vfm

      Pesala
      P
      luetage
      L
      stardepp
      S
      Granite1
      G
      4 Replies Last reply
      Reply Quote 31
    • Pesala
      P
      Pesala Ambassador @luetage
      last edited by

      @luetage Sleep is now renamed to Delay

      I have Copy Page Address on my Page Context menu. I don't think we need a new Command Chain for that.

      Enhanced Fullscreen

      1. Fullscreen Mode
      2. Delay: Parameter = 100
      3. Address Bar
      4. Bookmark Bar

      Clone Tab and Tile Horizontally

      1. Clone Selected Tabs (active tab included in selection)
      2. Tile Horizontally

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

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

      @pesala Good point, delay makes more sense than sleep anyway. And yeah, as mentioned in OP, copy page address is a menu item and a mouse gesture. But I want to trigger it with a single key shortcut. I’m sure this will be available as a command and keyboard shortcut at some point in future, until then I’m fine with the chain.

      github ◊ vfm

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

      Follow and Tile

      Creates a follower tab and tiles it with the initial tab, as requested by @syplex.

      1. Open Link in Current Tab
        Parameter: javascript:(()=>{const a=document.getElementsByTagName('a');for(i=0;i<a.length;i++){a[i].setAttribute('target','follow')};setTimeout(()=>{const h=window.location.href;window.history.replaceState('stateObj','',h);a[0].click()},500)})();
      2. Delay
        Parameter: 1000
      3. Tile Vertically

      github ◊ vfm

      S
      F
      2 Replies Last reply
      Reply Quote 8
    • S
      syplex @luetage
      last edited by

      This is great, thanks!

      One page I use regularly opens links within the page in a limited fashion on click, but I want to see the full link in the follower tab. The only way to do that is middle click the link, but these are not opened in the follower tab. Any idea on how to do that?

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

      @syplex No idea. Can you provide a link?

      github ◊ vfm

      S
      1 Reply Last reply
      Reply Quote 0
    • S
      syplex @luetage
      last edited by

      @luetage it's a Jira server in the backlog view.

      This page works, but you have to create an account (free) to view it:

      • https://jira.atlassian.com/secure/RapidBoard.jspa?rapidView=2750&view=planning.nodetail&selectedIssue=CONFSERVER-60152&issueLimit=100

      Here's another one I found you should be able to use without a login, but it is not the same backlog view. However, a solution here might work on the backlog view:

      • https://issues.apache.org/jira/projects/INFRACLOUD1/issues/INFRACLOUD1-1?filter=allopenissues

      Basically I want to be able to get the full ticket view in the right tab (background click the ticket number to see the full view).

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

      @syplex It’s likely these pages open the links with their own Javascript function at which point this script is helpless. Mind you, I haven’t written follower tabs, I only added some code to make it work well in a command chain with tiling. Another good example is duckduckgo search, doesn’t work there either.

      github ◊ vfm

      S
      1 Reply Last reply
      Reply Quote 0
    • S
      syplex @luetage
      last edited by

      @luetage if we could make background tab link opening (ie, shift+click) redirect to the tiled tab it would solve the problem, but I don't know how Vivaldi handles background tab opening, clearly it does something different and maybe ignores the javascript code somehow?

      1 Reply Last reply Reply Quote 0
    • shifte
      S
      shifte
      last edited by shifte

      Switch tabs and mute inactive tabs
      1, Previous Tab(by Order)
        or Next Tab(by Oeder)
      2, Mute All Tabs
      3, Delay
        Parameter:300
      4, Mute/Unmute Tab

      For watching Olympic Live on page tiling.
      2.png

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

      Open Selection

      Copies the selected text and opens it in a new tab. If there’s no selection, it will use current clipboard contents. If it’s an address, you will navigate to the web page, in any other case it will search your default engine. I’m using the shortcut Alt-O for this chain.

      1. Copy
      2. Quick Commands
      3. Delay
        Parameter: 200
      4. Paste and Go
      {"category":"CATEGORY_COMMAND_CHAIN","chain":[{"key":"6dae1e1a-695b-41c5-9ca9-deb1fabe9cc9","label":"Copy","name":"COMMAND_CLIPBOARD_COPY"},{"key":"f8d653f3-1371-4cf2-ab83-b8c62ad98add","label":"Quick Commands","name":"COMMAND_SHOW_QUICK_COMMANDS"},{"defaultValue":1000,"key":"2eb81004-6703-46db-9933-6afcfde924e4","label":"Delay","name":"COMMAND_CHAINED_SLEEP","param":200},{"key":"1ca0b67d-f911-4141-949b-09c728430f2f","label":"Paste and Go","name":"COMMAND_CLIPBOARD_PASTE_AS_PLAIN_TEXT_OR_PASTE_AND_GO"}],"key":"cl4g1bury01j2305zdv63oh2x","label":"Open Selection","name":"COMMAND_cl4g1bury01j2305zdv63oh2x"}
      

      github ◊ vfm

      ChimeraLove
      C
      1 Reply Last reply
      Reply Quote 4
    • kyu3a
      K
      kyu3a Ambassador
      last edited by

      This chain is for watching Amazon Prime video with checking and tweeting by Tweetdeck.

      I usually hide WEB panel and set the panel display method to "Floating". So, this chain open Amazon Prime video on the current tab. And change the panel display method. And show the panel.

      1. Open Link in New Tab(現在のタブをリンクで開く)
        Paramenter: https://www.amazon.co.jp/gp/browse.html?node=2351649051&ref_=nav_em__aiv_vid_0_2_2_2
      2. Toggle Floating Panel(パネルのオーバーレイ表示切り替え)
      3. Panel(パネルを表示 / 非表示)
      4. Web Panel 1(ウェブパネル 1)

      alt text

      alt text

      P.S.
      This chain is for restoring the settings.

      1. Home(ホームへ移動)
      2. Toggle Floating Panel(パネルのオーバーレイ表示切り替え)
      3. Panel(パネルを表示 / 非表示)

      alt text

      1 Reply Last reply Reply Quote 5
    • jumpsq
      J
      jumpsq
      last edited by

      Compose Mail

      1. Compose New Message
      

      Now, a new message can be composed from any tab and not just M3.

      arch linux. swaywm. vivaldi-snapshot. m3.

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

      @jumpsq That’s interesting, the command »compose new message« is already available as keyboard shortcut, mouse gesture and from quick commands; but only as command chain does it trigger anywhere (no need to visit mail first), as you mentioned. I wonder whether this is a bug.

      github ◊ vfm

      jumpsq
      J
      1 Reply Last reply
      Reply Quote 2
    • jumpsq
      J
      jumpsq @luetage
      last edited by

      @luetage I reported it as a bug (VB-80380), but I think that it's meant to be like this. It was in the changelog not too long ago that this will now only trigger from M3 directly (though I do not really see any reasoning why this should be the case).

      arch linux. swaywm. vivaldi-snapshot. m3.

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

      @jumpsq The other way around, I think it’s a bug it works as command chain. I would assume the issue is the command can be triggered on a window where m3 is supposed to be unreachable.

      github ◊ vfm

      jumpsq
      J
      1 Reply Last reply
      Reply Quote 0
    • jumpsq
      J
      jumpsq @luetage
      last edited by jumpsq

      @luetage Well, it's not an issue, though as it works without issues to compose messages in other windows. But we're derailing - it would need a Gwen now to offer us to split threads ... 😢

      arch linux. swaywm. vivaldi-snapshot. m3.

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

      @jumpsq It’s about command chains. Moreover I will link all shared command chains from OP at some point. I see no issue discussing something like this here.

      github ◊ vfm

      1 Reply Last reply Reply Quote 2
    • ChimeraLove
      C
      ChimeraLove @luetage
      last edited by ChimeraLove

      Thanks you @luetage for "Search Engine with Selection"!

      This one is for Selected text to be searched in two search engines and tile the result as shown in the gif.
      (In reality it's not as smooth because the new tab command opens "Start page" for a moment so it's more flickering..)

      alt text

      Search engines url:
      Translate - https://translate.google.com/?sl=auto&tl=en&text=%s &op=translate
      Nickname: t
      Etymology - https://www.google.com/search?q=%s etymology
      Nickname: e

      Commands:

      1
      Open Link in Current Tab
      Parameter:
      javascript:(()=>{const c=window.getSelection();const s=e ${c};navigator.clipboard.writeText(s);setTimeout(()=>{const t=window.location.href;window.history.replaceState("stateObj","",t)},50)})();

      2
      Delay 200

      3
      New Tab

      4
      Delay 400

      5
      focus Address Field

      6
      Paste and Go

      7
      Previous Tab (Recent)

      8
      Delay 100

      9
      Open Link in Current Tab
      Parameter:
      javascript:(()=>{const c=window.getSelection();const s=t ${c};navigator.clipboard.writeText(s);setTimeout(()=>{const t=window.location.href;window.history.replaceState("stateObj","",t)},50)})();

      10
      Delay 200

      11
      New Tab

      12
      Delay 400

      13
      Focus Address Field

      14
      Paste and Go

      15
      Select Current Tab

      16
      Delay 100

      17
      Select Previous Tab

      18
      Delay 100

      19
      Tile Vertically

      20
      Delay 200

      21
      Stack Tabs

      .

      .
      *In my case I used google search for etymology so there is a lot of empty space on left side so I used "Stylus" chrome extension with this code.

      More instructions here:
      https://www.reddit.com/r/vivaldibrowser/comments/fk4cf5/how_to_remove_empty_left_side_of_google_search/

      #cnt #center_col,
      .mw #center_col {
          margin-left: 5px !important
      }
      
      #hdtb-msb-vis {
          margin-left: 5px !important
      }
      
      .MUFPAc {
          margin-left: 5px !important
      }
      
      .WE0UJf {
          margin-left: 5px !important
      }
      
      .A8SBwf {
          margin-left: 5px !important
      }
      
      /*Border color for dark mode*/
      .RNNXgb {
          border: 2px solid #adb735 !important;
          margin-left: -25px;
      }
      
      .srp #searchform {
          top: 9px;
          margin-top: 0px;
      }
      
      .dodTBe {
          height: 50px;
      }
      
      /*Something above search*/
      .J1hqV {
          display: none;
      }
      
      luetage
      L
      1 Reply Last reply
      Reply Quote 5
    • luetage
      L
      luetage Supporters Soprano @ChimeraLove
      last edited by

      @chimeralove In both instances you are using the search engine nickname e. Otherwise great job.

      github ◊ vfm

      barbudo2005
      B
      1 Reply Last reply
      Reply Quote 1
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    • 1
    • 2
    • 3
    • 4
    • 5
    • 11
    • 12
    • 1 / 12
    • First post
      Last post

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