A voir également:
- [Bash] Terme pour agrandir une fenêtre
- Raccourci agrandir fenetre - Guide
- Agrandir une image - Guide
- Comment agrandir un tableau sur word - Guide
- Fenêtre hors écran windows 11 - Guide
- Comment agrandir l'affichage de l'écran - Guide
1 réponse
Avec Ubuiquity :
Source : https://tonychestnut.wordpress.com/2009/02/17/first-few-ubiquity-commands/
CmdUtils.CreateCommand({
name: "maximize",
author: { name: "Vu Dinh The, Tony", email: "tonyvu2008@gmail.com"},
license: "MPL",
description: "Maximize the browser window",
help: "The command will attempt to maximize the browser window",
preview: function( pblock ) {
window_size = CmdUtils.getWindowInsecure().outerWidth + "x" + CmdUtils.getWindowInsecure().outerHeight;
pblock.innerHTML = "Will maximize the window size" + "<br>Current window size: <i>" + window_size + "</i>";
},
execute: function() {
//CmdUtils.getWindowInsecure().maximize();
CmdUtils.getWindowInsecure().outerWidth = CmdUtils.getWindowInsecure().screen.width;
CmdUtils.getWindowInsecure().outerHeight = CmdUtils.getWindowInsecure().screen.height;
CmdUtils.getWindowInsecure().moveTo(0, 0);
}
})
Source : https://tonychestnut.wordpress.com/2009/02/17/first-few-ubiquity-commands/