コンテンツにスキップ

利用者:JuthaDDA/newVector/widenTables.js

お知らせ: 保存した後、ブラウザのキャッシュをクリアしてページを再読み込みする必要があります。

多くの WindowsLinux のブラウザ

  • Ctrl を押しながら F5 を押す。

Mac における Safari

  • Shift を押しながら、更新ボタン をクリックする。

Mac における ChromeFirefox

  • Cmd Shift を押しながら R を押す。

詳細についてはWikipedia:キャッシュを消すをご覧ください。

/******/ ( function () { // webpackBootstrap
/******/ 	'use strict';
	/**
	 * This script does NOT support Internet Explorer.
	 *
	 * @author [[:w:ja:User:JuthaDDA]]
	 * @license CC-BY-SA 3.0
	 */

	var _document$querySelect;

	var bodyClassList = ( _document$querySelect = document.querySelector( 'body.skin-vector' + ':not(.skin-vector-legacy)' + ':not(.skin-vector-disable-max-width)' ) ) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.classList;

	if ( bodyClassList ) {
		bodyClassList.add( 'skin-vector--table-widened' );
		document.querySelectorAll( '.wikitable' ).forEach( function ( table ) {
			if ( !( table instanceof HTMLTableElement ) ) {
				return;
			}

			if ( table.style.width === '100%' ) {
				table.classList.add( 'wikitable--full-width' );
			}

			if ( [ 'left', 'right' ].includes( table.style.float ) ) {
				table.classList.add( 'wikitable--floating' );
			}
		} );
		mw.loader.load( '//ja-two.iwiki.icu/w/index.php?title=User:JuthaDDA/' + 'SetClientSizeToCss.js&action=raw&ctype=text/javascript' );
		mw.loader.load( '//ja-two.iwiki.icu/w/index.php?title=User:JuthaDDA/' + 'newVector/widenTables.css&action=raw&ctype=text/css', 'text/css' );
	}
/******/ }() );

// # sourceMappingURL=widenTables.js.map