WEBページ作成リファレンス
cman.jp cman.jp > WEBページ作成TOP > javascriptサンプル > 「ウインドウ プロパティ・メソッド一覧」

ウインドウ ウインドウ プロパティ・メソッド一覧

JavaScriptでウインド操作する場合は、プロパティやメソッドを使用します。たとえば「window.close」「window.onload」などが該当します。
ウインドウオブジェクトのプロパティやメソッドなどは階層で管理されています。実際に階層をクリックして確認してください。ブラウザやバージョン毎により異なりますので注意が必要です。

サンプルは全てライセンスフリーとしていますので、改変や再配布も自由です。(コメントを残していただけると幸いです)
ただし、動作の保証は一切行っておりませんのでご理解の上、ご利用ください。

広告

現在使用中ブラウザのWINDOWプロパティー・メソッド(オブジェクト)一覧

その他
String
Object
Number
Function
Boolean
表示対象→
[object Window]
プロパティ
booleanclosedfalse
functionTmBpAlertfunction TmBpAlert(s)
{
try {
s_script = 'alert("'+s+'")';
ret = window.TmBpIeBHO.ScanJavascript(s_script, window);
} catch(e) {}
TmBpOrgAlert(s);
}
functionTmBpConfirmfunction TmBpConfirm(s)
{
try {
s_script = 'confirm("'+s+'")';
ret = window.TmBpIeBHO.ScanJavascript(s_script, window);
} catch(e) {}
return TmBpOrgConfirm(s);
}
functionTmBpOrgAlert
function alert() {
[native code]
}
functionTmBpOrgConfirm
function confirm() {
[native code]
}
functionTmBpOrgUnesp
function unescape() {
[native code]
}
functionTmBpUnespfunction TmBpUnesp(s)
{
if (TmBpShellcodeStatus == 0)
{
var shellcode = TmBpOrgUnesp(s);
var ret = 0;
try {
ret = window.TmBpIeBHO.ScanShellcode(shellcode, window);
} catch(e) {}
if (ret == 1)
{
TmBpShellcodeStatus = 1;
window.onerror = function(){return true;};
throw '';
}
return shellcode;
}
else
{
throw '';
}
}
functionaddEventListener
function addEventListener() {
[native code]
}
functionalertfunction TmBpAlert(s)
{
try {
s_script = 'alert("'+s+'")';
ret = window.TmBpIeBHO.ScanJavascript(s_script, window);
} catch(e) {}
TmBpOrgAlert(s);
}
functionatob
function atob() {
[native code]
}
functionblur
function blur() {
[native code]
}
functionbtoa
function btoa() {
[native code]
}
functioncancelAnimationFrame
function cancelAnimationFrame() {
[native code]
}
functioncaptureEvents
function captureEvents() {
[native code]
}
functionclearImmediate
function clearImmediate() {
[native code]
}
functionclearInterval
function clearInterval() {
[native code]
}
functionclearTimeout
function clearTimeout() {
[native code]
}
functionclose
function close() {
[native code]
}
functionconfirmfunction TmBpConfirm(s)
{
try {
s_script = 'confirm("'+s+'")';
ret = window.TmBpIeBHO.ScanJavascript(s_script, window);
} catch(e) {}
return TmBpOrgConfirm(s);
}
functiondispatchEvent
function dispatchEvent() {
[native code]
}
functionfocus
function focus() {
[native code]
}
functiongetComputedStyle
function getComputedStyle() {
[native code]
}
functiongetSelection
function getSelection() {
[native code]
}
functionitem
function item() {
[native code]
}
functionmatchMedia
function matchMedia() {
[native code]
}
functionmoveBy
function moveBy() {
[native code]
}
functionmoveTo
function moveTo() {
[native code]
}
functionmsCancelRequestAnimationFrame
function msCancelRequestAnimationFrame() {
[native code]
}
functionmsClearImmediate
function msClearImmediate() {
[native code]
}
functionmsIsStaticHTML
function msIsStaticHTML() {
[native code]
}
functionmsMatchMedia
function msMatchMedia() {
[native code]
}
functionmsRequestAnimationFrame
function msRequestAnimationFrame() {
[native code]
}
functionmsSetImmediate
function msSetImmediate() {
[native code]
}
functionmsWriteProfilerMark
function msWriteProfilerMark() {
[native code]
}
functionnavigate
function navigate() {
[native code]
}
functiononloadfunction() {

// デフォルトの先頭オブジェクトを階層リストに入れる
cman_kaisoIdx = 0;
cman_kaisoObjList[cman_kaisoIdx] = window;

// デフォルトでwindowオブジェクトを表示
cman_winList(window);

}
functionopen
function open() {
[native code]
}
functionpostMessage
function postMessage() {
[native code]
}
functionprint
function print() {
[native code]
}
functionprompt
function prompt() {
[native code]
}
functionreleaseEvents
function releaseEvents() {
[native code]
}
functionremoveEventListener
function removeEventListener() {
[native code]
}
functionrequestAnimationFrame
function requestAnimationFrame() {
[native code]
}
functionresizeBy
function resizeBy() {
[native code]
}
functionresizeTo
function resizeTo() {
[native code]
}
functionscroll
function scroll() {
[native code]
}
functionscrollBy
function scrollBy() {
[native code]
}
functionscrollTo
function scrollTo() {
[native code]
}
functionsetImmediate
function setImmediate() {
[native code]
}
functionsetInterval
function setInterval() {
[native code]
}
functionsetTimeout
function setTimeout() {
[native code]
}
functionshowHelp
function showHelp() {
[native code]
}
functionshowModalDialog
function showModalDialog() {
[native code]
}
functionshowModelessDialog
function showModelessDialog() {
[native code]
}
functiontoStaticHTML
function toStaticHTML() {
[native code]
}
functiontoString
function toString() {
[native code]
}
numberTmBpShellcodeStatus0
numberanimationStartTime5568287119568.593
numberdevicePixelRatio1
numberinnerHeight990
numberinnerWidth1053
numberlength0
numbermaxConnectionsPerServer2
numbermsAnimationStartTime5568287119568.593
numberouterHeight1121
numberouterWidth1061
numberpageXOffset0
numberpageYOffset0
numberscreenLeft652
numberscreenTop127
numberscreenX648
numberscreenY20
objectTmBpIeBHO
objectapplicationCache (>21)[object ApplicationCache]
objectclientInformation (>34)[object Navigator]
objectclipboardData (>7)[object DataTransfer]
objectconsole (>19)[object Console]
objectdocument (>255)[object HTMLDocument]
objectevent (>18)[object Event]
objectexternal
objectframeElement
objectframes (>200)[object Window]
objecthistory (>7)[object History]
objectlocation (>13)file:///C:/200_開発/1700_htmlリファレンス/javascript_ref/window/object/index_tmp.htm
objectmsCrypto (>2)[object Crypto]
objectnavigator (>34)[object Navigator]
objectonabort
objectonafterprint
objectonbeforeprint
objectonbeforeunload
objectonblur
objectoncanplay
objectoncanplaythrough
objectonchange
objectonclick
objectoncontextmenu
objectondblclick
objectondrag
objectondragend
objectondragenter
objectondragleave
objectondragover
objectondragstart
objectondrop
objectondurationchange
objectonemptied
objectonended
objectonerror
objectonfocus
objectonfocusin
objectonfocusout
objectonhashchange
objectonhelp
objectoninput
objectonkeydown
objectonkeypress
objectonkeyup
objectonloadeddata
objectonloadedmetadata
objectonloadstart
objectonmessage
objectonmousedown
objectonmouseenter
objectonmouseleave
objectonmousemove
objectonmouseout
objectonmouseover
objectonmouseup
objectonmousewheel
objectonmsgesturechange
objectonmsgesturedoubletap
objectonmsgestureend
objectonmsgesturehold
objectonmsgesturestart
objectonmsgesturetap
objectonmsinertiastart
objectonmspointercancel
objectonmspointerdown
objectonmspointerenter
objectonmspointerleave
objectonmspointermove
objectonmspointerout
objectonmspointerover
objectonmspointerup
objectonoffline
objectononline
objectonpagehide
objectonpageshow
objectonpause
objectonplay
objectonplaying
objectonpointercancel
objectonpointerdown
objectonpointerenter
objectonpointerleave
objectonpointermove
objectonpointerout
objectonpointerover
objectonpointerup
objectonpopstate
objectonprogress
objectonratechange
objectonreadystatechange
objectonreset
objectonresize
objectonscroll
objectonseeked
objectonseeking
objectonselect
objectonstalled
objectonstorage
objectonsubmit
objectonsuspend
objectontimeupdate
objectonunload
objectonvolumechange
objectonwaiting
objectparent (>200)[object Window]
objectperformance (>15)[object Performance]
objectscreen (>17)[object Screen]
objectself (>200)[object Window]
objectstyleMedia (>2)[object StyleMedia]
objecttop (>200)[object Window]
objectwindow (>200)[object Window]
stringdefaultStatus
stringdoNotTrack1
stringname
stringoffscreenBuffering (>4)auto
stringstatus
undefinedindexedDB
undefinedlocalStorage
undefinedmsIndexedDB
undefinedopener
undefinedsessionStorage
ページTOP
広告
QrCode
このページのURL
スマートフォン・タブレット運営 : CMAN 株式会社シーマン