summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/safe_browsing_malware_block.html
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 19:57:52 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 19:57:52 +0000
commita5e4bb0a67fc355053668c1175c2371a41ee8c92 (patch)
tree259636f1f5f0742511df95d1c1b9d2ead1ad8a40 /chrome/browser/resources/safe_browsing_malware_block.html
parentbd0b334ad288b039b6576db5877a57796d20c517 (diff)
downloadchromium_src-a5e4bb0a67fc355053668c1175c2371a41ee8c92.zip
chromium_src-a5e4bb0a67fc355053668c1175c2371a41ee8c92.tar.gz
chromium_src-a5e4bb0a67fc355053668c1175c2371a41ee8c92.tar.bz2
Disabled the drag and drop of images and links in the blocking pages to prevent bad navigations.
Removed an unused file as well. BUG=3235 TEST=Trigger a blocking page (ex: https://ebay.com). Try dragging the warning image and link around. This should not do anything. Review URL: http://codereview.chromium.org/6590 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/safe_browsing_malware_block.html')
-rw-r--r--chrome/browser/resources/safe_browsing_malware_block.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/safe_browsing_malware_block.html b/chrome/browser/resources/safe_browsing_malware_block.html
index 1e815ea..f0b836a 100644
--- a/chrome/browser/resources/safe_browsing_malware_block.html
+++ b/chrome/browser/resources/safe_browsing_malware_block.html
@@ -83,11 +83,11 @@ input {
<table width="100%" cellspacing="0" cellpadding="0">
<td class="cell" valign="middle" align="center">
<div class="box">
- <div class="icon"><img src="phishing_icon.png" alt="Malware Icon" /></div>
+ <div class="icon"><img src="phishing_icon.png" alt="Malware Icon" onmousedown="return false;"/></div>
<div class="title" jscontent="headLine"></div>
<div class="main" jseval="this.innerHTML = $this.description1;"></div>
<div class="main" jseval="this.innerHTML = $this.description2;"></div>
- <div class="main"><a href="" jscontent="description3" onclick="sendCommand(2); return false;"></a></div>
+ <div class="main"><a href="" jscontent="description3" onclick="sendCommand(2); return false;" onmousedown="return false;"></a></div>
<div class="main">
<form class="submission">
<input name="checky" type="checkbox" onclick="agreed(this.form)">&nbsp;<span jscontent="confirm_text"></span>