2014-01-28 20:18:47 -08:00
|
|
|
<!-- WB Insert -->
|
2014-02-26 22:04:37 -08:00
|
|
|
{% if rule.js_rewrite_location %}
|
2014-04-04 12:20:54 -07:00
|
|
|
<script src='{{ wbrequest.host_prefix }}/{{ static_path }}/wombat.js'> </script>
|
2014-01-28 20:18:47 -08:00
|
|
|
<script>
|
2014-03-10 00:55:41 -07:00
|
|
|
WB_wombat_init("{{wbrequest.wb_prefix}}",
|
2014-03-10 00:10:20 -07:00
|
|
|
"{{cdx['timestamp']}}",
|
|
|
|
"{{cdx['original'] | host}}",
|
|
|
|
"{{ cdx.timestamp | format_ts('%s') }}");
|
2014-02-26 22:04:37 -08:00
|
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
<script>
|
|
|
|
wbinfo = {}
|
2014-03-10 00:10:20 -07:00
|
|
|
wbinfo.capture_str = "{{ cdx.timestamp | format_ts }}";
|
2014-04-09 10:57:43 -07:00
|
|
|
wbinfo.prefix = "{{ wbrequest.wb_prefix }}";
|
2014-04-09 10:01:44 -07:00
|
|
|
wbinfo.is_embed = {{"true" if wbrequest.wb_url.is_embed else "false"}};
|
2014-04-09 10:57:43 -07:00
|
|
|
wbinfo.is_frame_mp = {{"true" if wbrequest.wb_url.mod == 'mp_' else "false"}}
|
|
|
|
wbinfo.canon_url = "{{ canon_url }}";
|
2014-01-28 20:18:47 -08:00
|
|
|
</script>
|
2014-04-04 12:20:54 -07:00
|
|
|
<script src='{{ wbrequest.host_prefix }}/{{ static_path }}/wb.js'> </script>
|
|
|
|
<link rel='stylesheet' href='{{ wbrequest.host_prefix }}/{{ static_path }}/wb.css'/>
|
2014-01-28 20:18:47 -08:00
|
|
|
<!-- End WB Insert -->
|
2014-03-17 19:36:25 -07:00
|
|
|
|