Comments (8)
本来是在做一个chrome的插件刚好用到这个,后来觉得把这个东西做成一个小组件蛮有意思的。
目前看来,上面的问题1没法解决,做组件也就没有希望了~
from blog.
如果是firefox 可以通过自定义userchrome.css的方式来修改自带提示框的样式,可能。
from blog.
@robling 还是想把自己定义的浮层显示出来...
from blog.
恐怕不行;stackoverflow上说因为安全问题不可能允许页面_自己_阻止页面的关闭
我的建议是,试试本地存储?
from blog.
恩 用本地存储可以做的比较炫,完全自定义,不过用默认的阻止关闭的弹窗也可以完成需求。
- * —Me:刘雄
在 2013年10月14日上午12:20,Robin.L [email protected]写道:
恐怕不行;stackoverflow上说因为安全问题不可能允许页面_自己_阻止页面的关闭
我的建议是,试试本地存储?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-26220892
.
from blog.
Google 找到果大的文章了;)
from blog.
@barretlee 吓得我赶紧把 repo 删除了 =。=
from blog.
嗯,也遇到相似的情况,页面关闭时候想发送个http request,经常失败!
from blog.
Related Issues (20)
- 初识polymer
- 洗牙一二事
- css HOT 1
- IE hack? forget it!
- MAC 使用技巧总结 HOT 2
- NODE_ENV 介绍
- 简单来说,好的页面设计是这样的
- 浅析 NodeJs 的几种文件路径 HOT 45
- 随便记点什么好了
- UI 测试之:保证页面滚动到底部
- handsome-articals
- handsome-articals
- 关于自动化 UI 测试的边边角角 HOT 1
- koa step by step
- Docker-1: 在 Mac OSX 上安装 boot2docker HOT 6
- some useful git tips for me HOT 4
- 用 gitbook 为项目写本书吧 HOT 2
- 一件有点悲伤的事情 HOT 1
- 机器人把狗屎扫了?
- 面向大型工作台的微前端解决方案 icestark
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.