forked from oldweb-today/netcapsule
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
browser_app: improved cleanup, batch redis commands, use current url …
…if no referrer add improved inject script, for reference, but not used due to issues with frames, some browsers
- Loading branch information
Showing
7 changed files
with
90 additions
and
38 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
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
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
<script> | ||
window.__wbinfo = {"ts": "{{ cdx.timestamp }}", "sec": "{{ cdx.timestamp | format_ts('%s') }}"}; | ||
</script> | ||
<SCRIPT language="JavaScript"> | ||
|
||
function beacon() { | ||
if (window == window.top) { | ||
document.writeln('<IMG SRC="http://pywb.proxy/beacon/{{ cdx.url }}" HEIGHT="1" WIDTH="1"/>') | ||
} | ||
} | ||
|
||
beacon(); | ||
</SCRIPT> | ||
<NOSCRIPT> | ||
<IMG SRC="http://pywb.proxy/beacon/{{ cdx.url }}" HEIGHT="1" WIDTH="1"/> | ||
</NOSCRIPT> |