buremba.com
域名年龄: 17年3个月27天HTTP/1.1 304 Not Modified 访问时间:2019年06月06日 04:53:01 连接:keep-alive 设置Cookie:__cfduid=d153186c934218c27aebc037ebf422cf31559767981; expires=Thu, 04-Jun-20 20:53:01 GMT; path=/; domain=.buremba.com; HttpOnly 网页标记:"a8f053ebbb88c864f5a768a81c8d53b1-df" 缓存控制:public, max-age=0,必须更新 动作:Accept-Encoding X-NF-Request-ID: 560ca77d-8c80-4ca6-b6d5-ebe18e593a1c-18711403 服务器:cloudflare CF-RAY: 4e25089ecb1869a4-CDG
Skip to contentburembascratchpadTrap your visitors in your website with onbeforeunload event bugLast month Feros published a post about a bug that allows filling disk space via HTML5 LocalStorage API. [link] Inspiring from him, I wanted to try onbeforeunload event on iframes and I found a bug that exists all modern browsers support onbeforeunload event. Normally, when we attach onbeforeunload event to the window, browsers inform users with the value that is returned by the attached function and if they still wants to exit from our website, the browser doesn’t allow the website to run any callback function. However, if you append tons of iframe into the DOM and attach onbeforeunload event to each iframe’s window, you can lock up your visitor in the web page by infinitely alert boxes.This is the code that causes evil:Testing: http://jsfiddle.net/2PM9r/1/Status:The code works perfectly in all popular modern browsers that support onbeforeunload when the visitor wants to refresh or exit the page.Here is a list of browsers I tried the code:Chrome 27.0.1453.81Firefox 20.0.1Internet Explorer 10.0.92Opera doesn’t support onbeforeunload event.Bug reports:Chrome: https://code.google.com/p/chromium/issues/detail?id=239784Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=870755Internet Explorer: It seems there is no way to report bug for IE10.2 CommentsCategories: javascript.By buremba—10 May 2013 at 12:48links for 2011-03-22Ceaser – CSS Easing Animation Tool – Matthew Lein(tags: css-misc)No CommentsCategories: delicious.By buremba—23 March 2011 at 06:22links for 2011-03-18Stealthy :: Add-ons for Firefox(tags: firefox)jQuery Quicktag(tags: jquery-misc)No CommentsCategories: delicious.By buremba—19 March 2011 at 00:09links for 2011-03-13Demo(tags: menu)No CommentsCategories: delicious.By buremba—14 March 2011 at 00:08links for 2011-03-12Advanced (yet awesome) pure CSS3 boxes without using images « Design and Development tuts – TutorialShock(tags: css-border)No CommentsCategories: delicious.By buremba—13 March 2011 at 00:14links for 2011-03-05Welcome | Android Interaction Design Patterns |(tags: android)No CommentsCategories: delicious.By buremba—06 March 2011 at 00:14links for 2011-03-02Demos – jFormer(tags: jquery-form)No CommentsCategories: delicious.By buremba—03 March 2011 at 00:15links for 2011-02-28SlickGrid with Layout(tags: grid)No CommentsCategories: delicious.By buremba—01 March 2011 at 00:15links for 2011-02-27 Progress Bars css progress bar (tags: css-misc) The Shapes of CSS (tags: css-misc) Google Maps API Example Maps – Simple Vistor Map (tags: googlemaps) Edit this Fiddle – jsFiddle – Online Editor for the Web (JavaScript, MooTools, jQuery, Prototype, YUI, Glow and Dojo, HTML, CSS) (tags: css-table) EditableGrid – Make your HTML tables editable edit-in-place (tags: jquery-misc) Aktif Bilişim, WHMCS,Hosting, Reseller, Sanal sunucu, VP
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2024-10-15 17:28, Process in 0.0059 second.