diff options
author | sstvinc2 <sstvinc2@gmail.com> | 2017-02-13 21:40:12 -0600 |
---|---|---|
committer | sstvinc2 <sstvinc2@gmail.com> | 2017-02-13 21:40:12 -0600 |
commit | 82166863a0c4a8c101d041123c4ac2f098c9ef9a (patch) | |
tree | 51104dd4887dcc8c02f7fdfe62e185468eddf365 /html_template/template.html | |
parent | 028845d66a407f8af072c7b11be7be4bb4ae4602 (diff) |
Better URL obfuscation method
Was pointing to static HTML files, but they changed anytime the program
was re-run, causing links to point to unexpected URLs. Changed to
javascript obfuscation, using an onclick event rather than the href,
which sufficiently hides the URL for most purposes.
Diffstat (limited to 'html_template/template.html')
-rw-r--r-- | html_template/template.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/html_template/template.html b/html_template/template.html index 87e34e8..befaaff 100644 --- a/html_template/template.html +++ b/html_template/template.html @@ -17,7 +17,7 @@ <div id="top-stories">
<div class="top-story">
- <a target="_blank" href="redirects/h1-1.html" id="top-story-1">
+ <a target="_blank" href="" onclick="window.open('xxURL1-1xx', '_blank')">
<div class="top-stories-img" style="background-image: url('xxImg1-1xx');" />
</div>
<div class="top-stories-hed">xxTitle1-1xx</div>
@@ -26,7 +26,7 @@ </div>
<div class="top-story">
- <a target="_blank" href="redirects/h1-2.html" id="top-story-2">
+ <a target="_blank" href="" onclick="window.open('xxURL1-2xx', '_blank')">
<div class="top-stories-img" style="background-image: url('xxImg1-2xx');" />
</div>
<div class="top-stories-hed">xxTitle1-2xx</div>
@@ -35,7 +35,7 @@ </div>
<div class="top-story">
- <a target="_blank" href="redirects/h1-3.html" id="top-story-3">
+ <a target="_blank" href="" onclick="window.open('xxURL1-3xx', '_blank')">
<div class="top-stories-img" style="background-image: url('xxImg1-3xx');" />
</div>
<div class="top-stories-hed">xxTitle1-3xx</div>
@@ -44,7 +44,7 @@ </div>
<div class="top-story">
- <a target="_blank" href="redirects/h1-4.html" id="top-story-4">
+ <a target="_blank" href="" onclick="window.open('xxURL1-4xx', '_blank')">
<div class="top-stories-img" style="background-image: url('xxImg1-4xx');" />
</div>
<div class="top-stories-hed">xxTitle1-4xx</div>
@@ -56,7 +56,7 @@ <div id="middle-stories">
- <a target="_blank" href="redirects/h2-1.html" >
+ <a target="_blank" href="" onclick="window.open('xxURL2-1xx', '_blank')">
<div class="middle-story">
<div class="middle-stories-img" style="background-image: url('xxImg2-1xx');">
</div>
@@ -64,7 +64,7 @@ </div>
</a>
- <a target="_blank" href="redirects/h2-2.html" >
+ <a target="_blank" href="" onclick="window.open('xxURL2-2xx', '_blank')">
<div class="middle-story">
<div class="middle-stories-img" style="background-image: url('xxImg2-2xx');">
</div>
@@ -72,7 +72,7 @@ </div>
</a>
- <a target="_blank" href="redirects/h2-3.html" >
+ <a target="_blank" href="" onclick="window.open('xxURL2-3xx', '_blank')">
<div class="middle-story">
<div class="middle-stories-img" style="background-image: url('xxImg2-3xx');">
</div>
@@ -80,7 +80,7 @@ </div>
</a>
- <a target="_blank" href="redirects/h2-4.html" >
+ <a target="_blank" href="" onclick="window.open('xxURL2-4xx', '_blank')">
<div class="middle-story">
<div class="middle-stories-img" style="background-image: url('xxImg2-4xx');">
</div>
@@ -88,7 +88,7 @@ </div>
</a>
- <a target="_blank" href="redirects/h2-5.html" >
+ <a target="_blank" href="" onclick="window.open('xxURL2-5xx', '_blank')">
<div class="middle-story">
<div class="middle-stories-img" style="background-image: url('xxImg2-5xx');">
</div>
@@ -96,7 +96,7 @@ </div>
</a>
- <a target="_blank" href="redirects/h2-6.html" >
+ <a target="_blank" href="" onclick="window.open('xxURL2-6xx', '_blank')">
<div class="middle-story">
<div class="middle-stories-img" style="background-image: url('xxImg2-6xx');">
</div>
|