MediaWiki:Gadget-ScondiBaraSanca.js

Ocio: Daspò ver salvà, podaria esare neçesario snetare ła cache dal propio navegadore web par vedare i canbiamenti.

  • Firefox / Safari: tegner strucà el boton de łe letare grande Shift e schiciare sora Ricarga, o se nò struca Ctrl-F5 o Ctrl-R (⌘-R so Mac)
  • Google Chrome: strucare Ctrl-Shift-R (⌘-Shift-R so on Mac)
  • Internet Explorer / Edge: tegner strucà el boton Ctrl e schiciare so Ajorna, o sinò Ctrl-F5
  • Opera: Va in tel Menu → Inpostasion (Opera → Prefarense so on Mac) e pò in Privacy & sicuresa → Sneta dati del navegadore → Imajini e file in te ła cache.
$( function () {
	$( '<span>' )
		.attr( 'id', 'toggleSidebar' )
		.attr( 'title', 'Scondi ła bara' )
		.text( '◄' )
		.click( function () {
			$( 'body' ).toggleClass( 'sidebarHidden' );
			if ( typeof sessionStorage !== 'undefined' ) {
				sessionStorage.toggleSidebar = ( $( 'body' ).hasClass( 'sidebarHidden' ) ? '0' : '1' );
			}
		} )
		.appendTo( 'body' );

	if ( typeof sessionStorage !== 'undefined' && sessionStorage.toggleSidebar === '0' ) {
		$( 'body' ).addClass( 'sidebarHidden' );
	}
});
Traesto fora da Wikipèdia - L'ençiclopedia łìbara e cołaboradiva in łéngua Vèneta "https://vec.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ScondiBaraSanca.js&oldid=783823"