Git Product home page Git Product logo

Comments (8)

imsobear avatar imsobear commented on July 20, 2024

本来是在做一个chrome的插件刚好用到这个,后来觉得把这个东西做成一个小组件蛮有意思的。

目前看来,上面的问题1没法解决,做组件也就没有希望了~

from blog.

robling avatar robling commented on July 20, 2024

如果是firefox 可以通过自定义userchrome.css的方式来修改自带提示框的样式,可能。

from blog.

imsobear avatar imsobear commented on July 20, 2024

@robling 还是想把自己定义的浮层显示出来...

from blog.

robling avatar robling commented on July 20, 2024

恐怕不行;stackoverflow上说因为安全问题不可能允许页面_自己_阻止页面的关闭
我的建议是,试试本地存储?

from blog.

imsobear avatar imsobear commented on July 20, 2024

恩 用本地存储可以做的比较炫,完全自定义,不过用默认的阻止关闭的弹窗也可以完成需求。

  • * —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.

barretlee avatar barretlee commented on July 20, 2024

Google 找到果大的文章了;)

from blog.

imsobear avatar imsobear commented on July 20, 2024

@barretlee 吓得我赶紧把 repo 删除了 =。=

from blog.

sumaolin avatar sumaolin commented on July 20, 2024

嗯,也遇到相似的情况,页面关闭时候想发送个http request,经常失败!

from blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.