-
-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
132 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Prelude | ||
* Could you find answer in below documents? | ||
|
||
1. [FAQ](https://github.com/brookhong/Surfingkeys/wiki/FAQ) / [常见问题](https://github.com/brookhong/Surfingkeys/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) | ||
1. [README](https://github.com/brookhong/Surfingkeys/blob/master/README.md) / [读我](https://github.com/brookhong/Surfingkeys/blob/master/README_CN.md) | ||
|
||
* Have you searched your problem in [issues](https://github.com/brookhong/Surfingkeys/issues)? | ||
|
||
## Error details | ||
|
||
SurfingKeys: <version> | ||
|
||
Browser: <version><os version> | ||
|
||
URL: <The_URL_Where_You_Find_The_Issue> | ||
|
||
**You could simply click dropdown menu from Surfingkeys' icon in toolbar, which will provide necessary info.** | ||
![image](https://user-images.githubusercontent.com/288207/39614555-6048977e-4fa3-11e8-8476-46203af7c4d6.png) | ||
|
||
## Context | ||
|
||
**Please replace this with a description of how you were using SurfingKeys.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<title>Test Page</title> | ||
</head> | ||
<body> | ||
<iframe id="testF"></iframe> | ||
<script type="text/javascript"> | ||
var fr = document.getElementById("testF"); | ||
fr.contentWindow.addEventListener("click", function(evt) { | ||
console.log(evt + 1); | ||
}); | ||
fr.addEventListener("load", function(evt) { | ||
console.log(evt + window.location.href); | ||
}); | ||
fr.contentWindow.addEventListener("load", function(evt) { | ||
console.log(evt + window.location.href); | ||
}); | ||
fr.contentWindow.document.write("yes"); | ||
fr.contentWindow.addEventListener("click", function(evt) { | ||
console.log(evt + 2); | ||
}); | ||
fr.contentWindow.addEventListener("load", function(evt) { | ||
console.log(evt + window.location.href); | ||
}); | ||
fr.contentWindow.document.write("yes2"); | ||
fr.contentWindow.document.close(); | ||
fr.contentWindow.addEventListener("click", function(evt) { | ||
console.log(evt + 3); | ||
}); | ||
</script> | ||
</body> | ||
</html> |