Giter Club home page Giter Club logo

customhooks's Introduction

CustomHooks

Just some css/js modifications for Vivaldi.

Instructions:

Either use VivaldiHooks (which only works on 1.12 and below) or add them to browser.html, located at

YOURVIVALDIDIRECTORY\Application\VERSION\resources\vivaldi

For .css files add this line to the head element:

<link rel="stylesheet" href="custom.css" />

For .js files add the this line to the body element:

<script src="custom.js"></script>

(obviously replacing custom.js or custom.css with the appropriate file name)

Now add the corresponding file to the Vivaldi folder (alongside browser.html)

Hooks:

combine-header-toolbar:

  • combine-header-toolbar.css

  • Combines the header and toolbar into a single bar. Compatible with any tab bar position and the 'Native Window' setting. You may need to change some values to suit your configuration.

combine-tab-panel:

chrome-webstore-css:

middle-click-undo-close;

  • middle-click-undo-close.js

  • Middle click on the tab bar to re-open the last closed tab (instead of creating a new one). Within the script you can set restoreWindows to true to re-open windows as well.

smooth-tab-switch-scroll;

  • smooth-tab-switch-scroll.js

  • Smooth tab switching when scrolling the tab bar. Also adds Shift+Scroll to scroll the tab bar. Within the script you can set wrap to false to disable switching to the first tab from the bottom and vice versa.

theme-css-variables:

  • theme-css-variables.js

  • Sends the current theme's css variables to chrome:// and vivaldi:// urls. With an extension like chromedotfiles, this allows styling those pages based on the currently applied theme.

white-flash-fix:

  • white-flash-fix.js

  • Fixes the white flash that occurs when navigating away from the start page or blank page. It sets the color to the current theme's background color.

customhooks's People

Contributors

sporif avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

k00lagin vmz69

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.