Summary on 20080717: web page refresh

本文探讨了多种网页刷新方式,包括使用window.location.reload、window.location.href、window.location.replace等方法,并对比了它们之间的区别及浏览器兼容性问题。
These days I'm working on web page refresh, and find that there are lots of ways to refresh page:
1. window.location.reload(true/false)
2. window.location.href = window.location.href(url)
3. window.location.replace(URL)
4. document.execCommand('Refresh');

Why when refresh page, there will be confirmation window to ask for the confirmation:
http://hi.baidu.com/ouanan/blog/item/cdace608828832900b7b8226.html

Note that window.location.href = url won't work well on IE6 and Maxthon.
but window.location.reload() won't have this problem

Difference between reload and replace:
http://www.110xs.com/archiver/?tid-1592/

In short, the difference is that reload(true/false)will get value from server or cache depending on the value of the parameter.
however, for the replace method,IE will use the url to replace the content in cache,so after using this method, can't use back/forward button of IE to navigate between web page.



开放火Openfire 5.0.2, build ef7aa07 已作为 admin 登录 - 登出 集群状态 - 启动 服务器用户/组会话群聊网页客户端帕德插件 吉蒂斯自由开关匡威 总结 设置 用户界面 网络交流 SIP 入口 计划师 用户界面 使用下面的表单更改网页客户端的用户界面。 连接性 公共网络应用程序目前托管在 https://szrengjing.com:7443/ofmeet 上下文路径: /ofmeet 用户界面配置 应用名称: Pade Meetings 活跃扬声者头像大小: 100 画布额外: 104 画布半径: 7 平铺视图最大列数: 5 阴影颜色: #ffffff 默认远程显示名称: Change Me 默认扬声器显示名称: Speaker 本地显示名称: Me 显示技术支持 启用预加入页面 浏览器中缓存用户密码 生成随机房间名称 语言 中文 启用语言检测 鼠标光标超时(以毫秒为单位): 10000 启用音频电平指示器 使用头像圆形样式 自动为他人固定屏幕共享 启用“邀请更多参与者”助理 应用程序/工具 CryptPad 服务的 URL: https://cryptpad.fr 白板服务的URL: https://wbo.ophir.dev/boards/ 以太板的网址: https://board.net/p/ 启用CryptPad协作应用程序 启用协作白板 启用 Etherpad 打开 Etherpad 开始 启用五彩纸屑应用程序 启用鼠标/光标共享 从网页浏览器记录会议或桌面音频/视频 启用标记数据以显示字幕/字幕 Enable Meeting Room Breakout feature Allow uploading of avatars and files for sharing with other participants Enable Instant Messages as sub-titles/captions on screen Start with sub-titles/captions enabled Message Captions Timeout (in milliseconds): 0 Enable Transcription of audio to sub-titles/captions Start with Transcriptions enabled Invite previous participants to conference using web-push notification Welcome Page These settings control what is displayed on the welcome page. Page Title: 人进视频 Page Description: 欢迎全国人民前来监督和指导 Page Content: 给全国人民涨工资 涉税企业增利润;稳定物价;合规经营;诚信纳税;扩大就业;鼓励创业; Page Toolbar Content: Enter HTML to be displayed on welcome page toolbar Show Page Content Show Page Toolbar Content Show Page Recent List Show Page In Progress List Show Meeting Size Information Show Meeting Participants Information Show Protected Meeting Information Interval to refresh In Progress List (in seconds): 10 Room names that contain these keywords will not be displayed in the In Progress List (separate with :): secret_ Account names that will not be displayed in the In Progress List (separate with :): Feedback Page Configuration Enable Feedback Feedback Description: <h1>Please rate the service quality achieved.</h1> <p>Share your suggestions or wishes.</p> <p>You actively contribute to the improvement!</p> <p>The data will be recorded anonymously, please state your name if necessary.</p> Comment placeholder text : Enter additional comments here. Submit button label: Send Feedback Success Message: <h1>Thank you a lot!</h1> Error Messsage: <h1>Oops, something went wrong!</h1> Filmstrip These settings control the ribbon in which all (other) participants are displayed. Filmstrip Max Height: 120 Vertical Filmstrip Filmstrip Only Toolbar Configuration The toolbars in the web application will initially be visible, but will automatically hide after an initial timeout. When the toolbar is opened by the user, it will hide automatically again after another timeout. Both values are configured below. Initial Timeout (in milliseconds): 20000 Usage Timeout (in milliseconds): 4000 The web application adds functionality via various buttons. Below, the availability of each button can be configured. Start / Stop camera Open / Close chat Closed Captions Start / Stop screen sharing Download Provide HTML Code to Embed Meeting Open / Close shared document Leave Feedback Film Strip View / Exit full screen Leave Help Highlight Share the link of the Meet Salesforce Link Live Streaming Mute / Unmute Mute Everyone's Audio Mute Everyone's Video Participans Pane Edit your profile Raise / Lower your hand Audio Recording Security Options Select Video Background Settings Share Audio Stream Noise Suppression Share a YouTube video View keyboard shortcuts Show speaker statistics Tile View Toggle Camera Manage call quality Conffeti Configuration Configuration of emoticon options for the confetti feature. Enable Emotion Confetti Close Emotion Confetti Menu On Fire Emotion List: 😀😄😅😂🙂🙃😊😇😛😍😘😛🤔❤⭐🌸🍺👍 Watermark Configuration The webapplication can display up to two watermark images, one in the top left, and one in the top right corner. Use the form below to configure what image (should be a PNG format) is used. Optionally, a link can be provided. This will make clicking the logo redirect the user to a particular URL. Show Left Watermark Watermark Image URL: https:/meet.jit.si/images/watermark.png Watermark Link: http://example.org Show Right Watermark Watermark Image URL: Watermark Link: 服务器 | 用户/组 | 会话 | 群聊 | Web 客户端 | Pade | 插件由IgniteRealtime.org社区构建。 Google 翻译 原文 提供更好的翻译建议 如何完整配置
11-17
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值