Split page in 3 frames

Splits the page in 3 equal frames

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Split page in 3 frames
// @version      0.1
// @description  Splits the page in 3 equal frames
// @author       Akshay Raje
// @grant        none
// @match        *://*/*
// @run-at       context-menu
// @namespace https://greasyfork.org/users/1073350
// ==/UserScript==

(function() {
    const pageTitle = document.title;
    const pageUrl = window.location.href;

    document.documentElement.innerHTML = `<html><head><title>${pageTitle}</title></head><frameset cols="33.33%,33.33%,33.33%"><frame src="${pageUrl}"><frame src="${pageUrl}"><frame src="${pageUrl}"></frameset></html>`;
})();