• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    We will be doing maintenance work on Vivaldi Translate on the 11th of May starting at 03:00 (UTC) (see the time in your time zone).
    Some downtime and service disruptions may be experienced.
    Thanks in advance for your patience.

    1. Home
    2. Desktop
    3. Customizations & Extensions
    4. Modifications
    5. Advanced Panels Mod (with Sessions Panel)

    Advanced Panels Mod (with Sessions Panel)

    Modifications
    modding javascript css
    42
    191
    36.2k
    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.
    • LonM
      L
      LonM Soprano Patron Moderator @yaha12
      last edited by

      @yaha12 I don't know the timeframe as I've just discovered this bug myself now.

      It's "safe" in the sense that you won't lose any data. But it's not "safe" in the sense that whatever reason you were using multiple profile for (e.g. privacy) is now broken.

      πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

      Y
      2 Replies Last reply
      Reply Quote 1
      • Y
        yaha12 @LonM
        last edited by

        @lonm said in Advanced Panels Mod (with Sessions Panel):

        It's "safe" in the sense that you won't lose any data. But it's not "safe" in the sense that whatever reason you were using multiple profile for (e.g. privacy) is now broken.

        I see. I am using profiles to separate my work into different themes and projects, so privacy is not an issue in this case. Is there a way to stay updated on the bug? Is there a public group or a tracker?

        LonM
        L
        1 Reply Last reply
        Reply Quote 0
        • LonM
          L
          LonM Soprano Patron Moderator @yaha12
          last edited by

          @yaha12 If you want to keep up to date with the status of previously reported bugs, I'd suggest hitting up this thread: status of vb

          But for now the bug hasn't been confirmed by another tester yet.

          πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

          1 Reply Last reply Reply Quote 0
          • sjudenim
            S
            sjudenim Supporters
            last edited by

            Don't know if this has been reported or not but I'm too lazy right now to sift through the pages,

            Sessions do not show up on browser restart. I say not show up because while the panel is blank, creating a new session makes the previous one reappear.

            https://github.com/sjudenim

            guigirl
            G
            1 Reply Last reply
            Reply Quote 0
            • guigirl
              G
              guigirl @sjudenim
              last edited by

              @sjudenim Fwiw, no such problem here; tis still all behaving correctly.

              sjudenim
              S
              1 Reply Last reply
              Reply Quote 0
              • sjudenim
                S
                sjudenim Supporters @guigirl
                last edited by

                @guigirl

                Thanks

                Not sure what the issue is then. I tested it on stable and snapshot both clean installs thinking there might be conflict with some other mods. This is what I get

                GIF 2022-02-19 10-11-02 PM.gif

                https://github.com/sjudenim

                guigirl
                G
                1 Reply Last reply
                Reply Quote 0
                • guigirl
                  G
                  guigirl @sjudenim
                  last edited by

                  @sjudenim Just to ensure we're using the same code.

                  https://forum.vivaldi.net/post/556348

                  sjudenim
                  S
                  1 Reply Last reply
                  Reply Quote 0
                  • sjudenim
                    S
                    sjudenim Supporters @guigirl
                    last edited by

                    @guigirl

                    I'm using the files from the original post.

                    Tried yours and got an invalid url error

                    https://github.com/sjudenim

                    guigirl
                    G
                    1 Reply Last reply
                    Reply Quote 0
                    • NylaTheWolf
                      N
                      NylaTheWolf
                      last edited by

                      Excuse the dumb question but I'm confused, haha.
                      260aa002-e9e3-499f-9838-ed48906db897-image.png

                      So since Vivaldi has built-in support for CSS mods, does that mean that I can create a folder in any directory, add the .CSS file to it, and then select it in the settings? Then again, there's a JavaScript file to this mod as well so maybe not?

                      Where am I supposed to put the config.json, advancedPanels.css, and advancedPanels.js anyway?

                      Also the instructions on the GitHub page say to run python3 custom.py -i config.json. Do I need to cd into any directories before doing this?

                      guigirl
                      G
                      1 Reply Last reply
                      Reply Quote 0
                      • guigirl
                        G
                        guigirl @sjudenim
                        last edited by

                        @sjudenim And yet...

                        67e87b9f-c77b-4629-ab1c-d2a17a1a07bb-image.png

                        sjudenim
                        S
                        1 Reply Last reply
                        Reply Quote 0
                        • guigirl
                          G
                          guigirl @NylaTheWolf
                          last edited by

                          @nylathewolf Have you read https://forum.vivaldi.net/topic/10549/modding-vivaldi?page=1 ?

                          My interpretation & deployment of the wisdom in that linked thread is more or less this:

                          43c30993-244e-4afb-9399-01676aa457cb-image.png

                          plus

                          this dedicated directory for my fav custom CSS mods [almost all of which are just copied from the wizards in the forum, as i'm too much a dweeb to think of this stuff myself]

                          archlinuxTower[/SeagateSpare/Vivaldi_Custom_CSS] 11:00:59 Mon Feb 21 $> ls -m
                          '0. Vivaldi_Custom_CSS  --README--', '1. Modding Vivaldi README', advancedPanels.css, bookmark-bar-font.css, Coloured_Scrollbars.css,
                          'CustomiseBookmarkButtonDropdownFieldWidth&Height.css', CustomiseSearchButtonDropdownFieldWidth.css, Hide_headerbar_with_Native_Window_active.css,
                          pinned_tab_styling.css, 'Superseded or otherwise decommissioned', Tabstack_active_tab_thumbnail_highlight.css, Window_panel_contrast.css,
                          zoom-effect-on-hovered-icons-web-panel-extensions-bookmark-bar.css
                          

                          plus

                          then i have another directory containing my preferred JS & HTML tweaks, with a script to push these to the requisite target /opt/vivaldi-snapshot/resources/vivaldi after each V update.

                          archlinuxTower[~/VivaldiPatch/MULTI-BOOTS] 11:04:46 Mon Feb 21 $> ls -m
                          advancedPanels.js, browser.html, custom.js, Follower-Tabs.js, Follower-Tabs.js_README, hooks, 'hooks README', jdhooks.js,
                          'Modding Notes, & Showing extension icons on the bottom of the browser', PatchVivaldi.sh, 'Superseded stuff', Vivaldi_Custom_CSS, VivaldiHooks-master
                          

                          That thread i linked at the top, is essential reading IMO.

                          1 Reply Last reply Reply Quote 3
                          • sjudenim
                            S
                            sjudenim Supporters @guigirl
                            last edited by

                            @guigirl

                            Strange. What url are you using?

                            This is what I get using your code

                            2022-02-20 23.47.02 vivaldi-webui 2a344e98826c.png

                            https://github.com/sjudenim

                            guigirl
                            G
                            1 Reply Last reply
                            Reply Quote 0
                            • guigirl
                              G
                              guigirl @sjudenim
                              last edited by

                              @sjudenim Here is the verbatim instruction from this mod's creator, @LonM, provided in this thread's inaugural post:

                              @lonm said in Advanced Panels Mod (with Sessions Panel):

                              Sessions Panel - Gives you an easy to access list of sessions. You can delete them, open them and create new ones from the panel instead of having to deal with the modal dialog. The mod requires that you first add your own web panel manually, with a URL set to vivaldi://sessions

                              sjudenim
                              S
                              1 Reply Last reply
                              Reply Quote 1
                              • sjudenim
                                S
                                sjudenim Supporters @guigirl
                                last edited by sjudenim

                                @guigirl

                                That's what I'm using, which is why the page loads with the original code.

                                GIF 2022-02-21 11-28-50 AM.gif

                                https://github.com/sjudenim

                                LonM
                                L
                                1 Reply Last reply
                                Reply Quote 0
                                • LonM
                                  L
                                  LonM Soprano Patron Moderator @sjudenim
                                  last edited by

                                  @sjudenim If it doesn't load right away, you may need to restart vivaldi after adding the panel.

                                  It's also worth opening the browser inspector to look for errors. (either by right click if you've enabled it or from vivaldi://inspect)

                                  πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                                  sjudenim
                                  S
                                  1 Reply Last reply
                                  Reply Quote 0
                                  • sjudenim
                                    S
                                    sjudenim Supporters @LonM
                                    last edited by

                                    @lonm

                                    That was just to show that I was using the correct url with @guigirl's code.

                                    The issue I'm having with yours is actually on restart. Sessions show fine when added but all are hidden on restart (https://forum.vivaldi.net/post/559504).

                                    No errors in console πŸ˜•

                                    https://github.com/sjudenim

                                    LonM
                                    L
                                    1 Reply Last reply
                                    Reply Quote 0
                                    • LonM
                                      L
                                      LonM Soprano Patron Moderator @sjudenim
                                      last edited by

                                      @sjudenim It's working for me. If you restart and open the normal sessions popup (from quick commands), does that display correctly? Also what OS are you using?

                                      πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                                      sjudenim
                                      S
                                      1 Reply Last reply
                                      Reply Quote 0
                                      • sjudenim
                                        S
                                        sjudenim Supporters @LonM
                                        last edited by sjudenim

                                        @lonm

                                        Yes

                                        2022-02-22_909.png

                                        Windows 10 Pro 21H2

                                        GIF 2022-02-22 10-16-11 AM.gif

                                        https://github.com/sjudenim

                                        LonM
                                        L
                                        1 Reply Last reply
                                        Reply Quote 0
                                        • E
                                          element4l
                                          last edited by element4l

                                          I read this thread a long time ago before CSS mods were kept by Vivaldi. Am I correct in assuming I don't have to worry about checking an option to make sure they don't disappear these days? Should I still back up my CSS mods?

                                          edit: erm, something weird happened... I thought I posted this in the Vivaldi mods thread.

                                          1 Reply Last reply Reply Quote 0
                                          • LonM
                                            L
                                            LonM Soprano Patron Moderator @sjudenim
                                            last edited by

                                            @sjudenim Could you try this for me: When vivaldi restarts, before you open the panel, open the conolse and type this command:

                                            vivaldi.sessionsPrivate.getAll(console.log)
                                            

                                            It should print out all your saved sessions to the console. Does that work?

                                            πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                                            sjudenim
                                            S
                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 9 / 10
                                            • First post
                                              Last post

                                            Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

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