Sha256: 43b34ad7f68f610178e40218ca8d562b1cdf879c7e24844634583e3fa91f8e66

Contents?: true

Size: 349 Bytes

Versions: 135

Compression:

Stored size: 349 Bytes

Contents

<html>
<head>
  <script>
    function delay_unload() {
      var start = new Date();
      var i = 0;
      while ((new Date()) - start < 1000){ i = i + 1; };
      return null;
    }
    window.onbeforeunload = delay_unload;
    window.onunload = delay_unload;
  </script>
</head>
<body>
  <div>This delays unload by 2 seconds</div>
</body>
</html>

Version data entries

135 entries across 118 versions & 5 rubygems

Version Path
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_slow_unload.erb
capybara-3.35.3 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.35.2 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.35.1 lib/capybara/spec/views/with_slow_unload.erb
capybara-3.35.0 lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_slow_unload.erb
capybara-3.34.0 lib/capybara/spec/views/with_slow_unload.erb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/capybara-3.32.2/lib/capybara/spec/views/with_slow_unload.erb