Skip to content

Commit

Permalink
evading pesky adblockers on ad.html
Browse files Browse the repository at this point in the history
the commonly-used ad-blocking list on
https://easylist.github.io/easylist/easylist.txt was recently updated to
include 'container-ad', which blocks our entire psiturk ad container.
changing our container id.

see https://groups.google.com/forum/#!topic/psiturk/yzT-w7KZxms
  • Loading branch information
deargle committed Jun 27, 2016
1 parent cf89f8f commit 1f9d16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psiturk/example/templates/ad.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
margin-right: 1em;
}

#container-ad {
#container-not-an-ad { /* obtuse name because pesky ad-blocker extensions */
background: white;
margin: 30px;
}
Expand All @@ -52,7 +52,7 @@
</style>
</head>
<body>
<div id="container-ad" class="media">
<div id="container-not-an-ad" class="media">
<div class="media-left pull-left" href="#">
<!-- REPLACE THE LOGO HERE WITH YOUR UNIVERSITY, LAB, or COMPANY -->
<img id="adlogo" src="{{ server_location }}/static/images/university.png" alt="Lab Logo" />
Expand Down

0 comments on commit 1f9d16e

Please sign in to comment.