Sha256: e26adf3e1f923b584f6080abc15543ff9e5a0e12f0f7a31f7fc68b796ba11b54

Contents?: true

Size: 220 Bytes

Versions: 131

Compression:

Stored size: 220 Bytes

Contents

<html>
<head>
  <script>
      window.onbeforeunload = function(e) {
        return 'Unload?';
      };
  </script>
</head>
<body>
  <div>This triggers an alert on unload</div>

  <a href="/">Go away</a>
</body>
</html>

Version data entries

131 entries across 114 versions & 4 rubygems

Version Path
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.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_unload_alert.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_unload_alert.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_unload_alert.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_unload_alert.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/capybara-3.35.3/lib/capybara/spec/views/with_unload_alert.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_unload_alert.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.35.3 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.35.2 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.35.1 lib/capybara/spec/views/with_unload_alert.erb
capybara-3.35.0 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/capybara-3.34.0/lib/capybara/spec/views/with_unload_alert.erb
capybara-3.34.0 lib/capybara/spec/views/with_unload_alert.erb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/capybara-3.32.2/lib/capybara/spec/views/with_unload_alert.erb