Skip to content

VivaldiHooks is a set of hooks/scripts for Vivaldi browser modding.

License

Notifications You must be signed in to change notification settings

stardepp/VivaldiHooks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VivaldiHooks

License: WTFPL

About

VivaldiHooks is a set of hooks/scripts for Vivaldi browser modding. The main one - jdhooks.js - controlls mods loading and provides mod developers a way to change behaviour of Vivaldi internal components.

See Wiki for hooks descriptions or developers' howto.

Download

If you don't use git you may always download VivaldiHooks archive here.

Installation

Automatic (Windows only)

Just run installhooks.bat. It will find installation path automatically if Vivaldi is set as your default browser.

If Vivaldi is installed in "Program Files" or any other write-restricted folder, you must run the script as Administrator.

You may specify a path in a command line:

installhooks.bat C:\programz\Vivaldi-snapshots\1.5.609.8\Application
installhooks.bat "C:\some path with spaces\Vivaldi\Application"
installhooks.bat -nowait C:\programz\Vivaldi-snapshots\1.5.609.8\Application

Another easy way: drag Vivaldi directory and drop it on installhooks.bat.

Manual

First of all, find Vivaldi installation folder ({instdir}):

  • Windows: Vivaldi\Application\{version}\resources
  • Linux: /opt/vivaldi/resources or /opt/vivaldi-snapshot/resources
  • MacOS: /Applications/Vivaldi.app/Contents/Versions/{version}/Vivaldi Framework.framework/Resources

Copy vivaldi folder into {instdir}

Or if you want to keep mods you've installed into browser.html, copy vivaldi\hooks folder and vivaldi\jdhooks.js into {instdir}\vivaldi, open {instdir}\vivaldi\browser.html in a text editor, add line

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

right before a line with bundle.js.

You may need to chmod new/updated files.

Deinstallation

If some hooks cause Vivaldi to crash, you can remove just hook files.

The easiest way to "uninstall"/disable VivaldiHooks is to delete {instdir}\vivaldi\jdhooks.js.

Screenshots

bookmarks-button.png

go-button.png

move-window-buttons-maximized.png

qc-close-tab.png

speeddial-shortcuts.png

jdhooks-startup-settings.png

About

VivaldiHooks is a set of hooks/scripts for Vivaldi browser modding.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.7%
  • SCSS 1.8%
  • Batchfile 1.5%
  • CSS 1.1%
  • Other 0.9%