Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Commit

Permalink
JS
Browse files Browse the repository at this point in the history
  • Loading branch information
m242 committed Oct 26, 2016
1 parent f2b7774 commit 9f70aa1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/app/assets/javascripts/maildrop.coffee
Expand Up @@ -40,7 +40,7 @@ class Index
el = M.id "blocked"
trash = M.id "trash"
wshost = window['MailDropWsHost'] || window.location.host
socket = new WebSocket("ws://" + wshost + "/ws/blocked")
socket = new WebSocket("wss://" + wshost + "/ws/blocked")
socket.onmessage = (msg) ->
if document.all then el.innerText = msg.data else el.textContent = msg.data
el.addClass "add"
Expand Down Expand Up @@ -307,4 +307,4 @@ else if document.attachEvent
document.attachEvent "onreadystatechange", ->
if document.readyState is "complete"
document.detachEvent "onreadystatechange", arguments.callee
M.domReady()
M.domReady()
14 changes: 14 additions & 0 deletions web/app/views/messagefooter.scala.html
Expand Up @@ -21,6 +21,20 @@ <h3>Alias Address:</h3>
<div class="unit one-of-two">
<h3>@site Sponsors:</h3>
<p><a href="https://heluna.com">Heluna Antispam</a> - Cloud-based antispam for your domain.</p>

<div style="margin-bottom:1.5rem">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Maildrop -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-5413279694385456"
data-ad-slot="6008894269"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>

<p>
@site keeps running thanks to the generosity of its sponsors.
<a href="@routes.Application.contact()">Please contact us</a> if you're interested in sponsoring
Expand Down

0 comments on commit 9f70aa1

Please sign in to comment.