Meta refresh - Wikipedia
文章推薦指數: 80 %
Meta refresh is a method of instructing a web browser to automatically refresh the current web page or frame after a given time interval, using an HTML meta ... Metarefresh FromWikipedia,thefreeencyclopedia Jumptonavigation Jumptosearch Methodofinstructingabrowsertoautomaticallyrefreshawebpage HTML DynamicHTML HTML5 audio canvas video XHTML Basic MobileProfile C-HTML HTMLelement spananddiv HTMLattribute altattribute HTMLframe HTMLeditor Characterencodings namedcharacters Unicode Languagecode DocumentObjectModel BrowserObjectModel Stylesheets CSS Fontfamily Webcolors JavaScript WebGL WebCL W3C Validator WHATWG Quirksmode Webstorage Renderingengine Comparisons Documentmarkuplanguages Comparisonofbrowserengines vte Metarefreshisamethodofinstructingawebbrowsertoautomaticallyrefreshthecurrentwebpageorframeafteragiventimeinterval,usinganHTMLmetaelementwiththehttp-equivparametersetto"refresh"andacontentparametergivingthetimeintervalinseconds.ItisalsopossibletoinstructthebrowsertofetchadifferentURLwhenthepageisrefreshed,byincludingthealternativeURLinthecontentparameter.Bysettingtherefreshtimeintervaltozero(oraverylowvalue),metarefreshcanbeusedasamethodofURLredirection. Contents 1History 2Usability 3Examples 4Drawbacks 5Alternatives 5.1Forredirection 5.2Forrefresh 6References 7Externallinks History[edit] ThisfeaturewasoriginallyintroducedbyNetscapeNavigator1.1(circa1995),inaformofHTTPheaderandcorrespondingHTMLmetaHTTP-equivalentelement,whichallowsdocumentauthortosignalclienttoautomaticallyreloadthedocumentorchangetoaspecifiedURLafteraspecifiedtimeout.[1]Itistheearliestpollingmechanismavailablefortheweb[citationneeded],allowingausertoseethelatestupdateinafrequently-changingwebpage,suchasonesdisplayingstockpriceorweatherforecast. Usability[edit] UseofmetarefreshisdiscouragedbytheWorldWideWebConsortium(W3C),sinceunexpectedrefreshcandisorientusers.[2]Metarefreshalsoimpairsthewebbrowser's"back"buttoninsomebrowsers(includingInternetExplorer6andbefore),althoughmostmodernbrowserscompensateforthis(InternetExplorer7andhigher,MozillaFirefox,Opera,GoogleChrome). Therearelegitimateusesofmeta-refresh,suchasprovidingupdatestodynamicwebpagesorimplementingsitecontrollednavigationofawebsitewithoutJavaScript.Manylargewebsitesuseittorefreshnewsorstatusupdates,especiallywhendependenciesonJavaScriptandredirectheadersareunwanted. Examples[edit] Placeinsidethe
elementtorefreshpageafter5seconds:延伸文章資訊
- 1Auto Refresh Plus | Page Monitor - Microsoft Edge Addons
Refresh page automatically with powerful page monitor features Auto Refresh Plus comes in handy t...
- 2Meta refresh - Wikipedia
Meta refresh is a method of instructing a web browser to automatically refresh the current web pa...
- 3Auto-refresh the dashboard page - Deep Security Manager
Right-click the tab that you want to refresh automatically and select Reload Tab. Reload tab. Set...
- 4Tab Reloader (page auto refresh) - Firefox Add-ons - Mozilla
- 5Easy Auto Refresh
Automatically reloads web pages after any number of seconds. Features: * Refresh pages after a se...