dhowe / adnauseamv1 Goto Github PK
View Code? Open in Web Editor NEW*** This is not the current AdNauseam repository: please find the current repo here:
Home Page: https://github.com/dhowe/AdNauseam
License: GNU General Public License v3.0
*** This is not the current AdNauseam repository: please find the current repo here:
Home Page: https://github.com/dhowe/AdNauseam
License: GNU General Public License v3.0
I was thinking to make the web page for the extension just full of banners and either have some of what we want to say or ALL of what we want to say in these banners. This could even be something that continues to grow as we get media coverage or ceased and deceased letters and post links to them in the form of banners.
We could use the Packery plugin to dynamically (maybe even incrementally) present and reorder these banners on the page, much like they would appear in the extension's Ad View.
@dhowe & Helen (do you have a GH handle?) I would like to get your thoughts + we will need to decide on a list of banners.
My initial list:
Integrate with current version of Adblock Plus...
This is basically an 'export-to-server' function (rather than the current 'export-to-file') where AdVault data could be uploaded, either as a screencap, or as JSON data to a server (probably the latter, though this raises some privacy/security concerns)...
Do we want to process ads we find on visited ad-pages (recursively). Note: these are ads the user never sees as the pages are loaded only on the (hidden) adn-tab.
this is a preference ('extensions.adnauseam.saveLogs') but thus far I cant get it to not recreate the log each time...
file: adnlogger.js
Remove logfile, preferences, etc.
Apparently we can't (at present) do anything here... See this bug:
See: https://bugzilla.mozilla.org/show_bug.cgi?id=627432#c12
There are a couple of things that needs to happen for ad-view to be ready for the presentation tomorrow:
I think this should do for now. Have I missed anything?
This should not be the case...
Can we disable this?
To recreate: click 'INSTALLATION' link at very top of page.
Should jump to 'installation' section at bottom of page.
make sure to include all the changes required in the Public Beta milestone
Use about:memory?verbose
Its annoying when ADN clicks a link in its hidden window, which then auto-starts video or audio. As the tab is not visible, the user can only mute the whole system, or restart Firefox.
At some point I saw loads of pop ups hidden behind my main browser window. I do not recall visiting a link that generated them directly, so this might be related. Do we block popups from the ad pages?
I will post here again if and when I see this again.
Problem is how to determining which URLs have been visited manually...
Happens occasionally -- need to add an image showing the problem
I like @dhowe's suggestion to make the log page a grid of ads as a full-frame collage. I think using Masonry could make sense though we will need to check it with different ad sizes. Designer's Toolbox has a good documentation of what to expect.
Wikipedia also has a nice SVG for that:
I imagine a gif animation of our clicking finger bouncing on top of each of these ads and the whole page auto-scrolling slowly ad infinitum. Hovering each of the ads can give you some metadata (where does it lead, when was it clicked, how many times was it encountered, etc…)
This could also be the leading aesthetic of our landing page which I will expand on in its own ticket #13
Not sure this should be a pinned tab to begin with, but I notice that sometimes after restarting, there are multiple of these dedicated tabs, which means that it isn't closing correctly on shutdown.
Also not sure it isn't happening because of my dev-setup, so if someone could verify this, that would be great.
Currently you see the old log messages first.
Perhaps we should write the log as JSON, then use a content-script to render it in reverse order with some nicer css?
It's as if there's a sound loop running in the background and it plays for about 15 seconds every 3 minutes or so. It's actually quite subtle and pretty, but it shouldn't happen.
I thought it has something to do with #12 but it happens even after I close all tabs and open a new one with no blockable ads.
Yet again it's so mysterious and spooky that it could be only in my head… (will report if the sound continues after I close the computer ;) )
The latest version (0.4.20) removed the button from the add-on bar but in my case when reinstalling or restarting the browser it disappears. The extension is active, but the button isn't there. I could only add it via the 'customize' menu.
These are often (but not always) Flash ads...
Sites exhibiting this problem:
http://www.engadget.com/
http://techcrunch.com/
http://www.tomshardware.com/
https://hk.news.yahoo.com/
================================================================================
AD#1 on http://www.engadget.com/
Xpath:
//*[@id="header"]/div[9]
HTML:
<div class="ad header-ad header-ad-banner">
<script>
onBreak({
980: function () {
adSetType("F");
htmlAdWH("93318635", "LB", "LB");
adSetType("");
}
});
</script><div id="adsDiv0"><iframe width="728" height="90" title="Ad" marginwidth="0" marginheight="0" allowtransparency="true" frameborder="0" scrolling="no" id="atwAdFrame0" src="/_uac/adpage.html" banid="10596322|1" class="uac_728x90"></iframe></div>
</div>
================================================================================
AD#2 on http://www.engadget.com/
Xpath:
//*[@id="rail"]/div[1]
HTML:
<div class="ad rail-ad rail-ad-topper">
<script>
onBreak({
980: function () {
adSetType("F");
htmlAdWH("93310577", "RR", "RR");
adSetType("");
}
});
</script><div id="adsDiv1"><iframe width="300" height="250" title="Ad" marginwidth="0" marginheight="0" allowtransparency="true" frameborder="0" scrolling="no" id="atwAdFrame1" src="/_uac/adpage.html" banid="10596321|1" class="uac_300x250"></iframe></div>
</div>
================================================================================
AD#3 on http://www.engadget.com/
Xpath:
//*[@id="rail"]/div[3]
HTML:
<div class="ad rail-ad rail-ad-skyscraper">
<div id="adSkyScraper"><iframe width="300" height="250" title="Ad" marginwidth="0" marginheight="0" allowtransparency="true" frameborder="0" scrolling="no" id="atwAdFrame2" src="/_uac/adpage.html" banid="10596321|1" class="uac_300x250"></iframe></div>
</div>
================================================================================
AD#4 on http://techcrunch.com/
Xpath:
/html/body/header/div/div/div[1]/div[1]
HTML:
<div class="header-ad">
<a href="" target="_blank"><div id="adsDivca9e99bc88" class=""><iframe width="728" height="90" title="Ad" marginwidth="0" marginheight="0" allowtransparency="true" frameborder="0" scrolling="no" id="atwAdFrame0" src="/wp-content/themes/vip/techcrunch-2013/_uac/adpage.html" banid="10596322|1" class="uac_728x90"></iframe></div>
<script>
/* <![CDATA[ */
if (!ads.isMobile()) {
(function(window,$){
window.TechCrunch.loader.on('tc_ads_wrapper_omniture', function(){
if ( !window.ads.isAdPageSet ){
if ( typeof window.adSetAdURL == 'function' ) {
window.adSetAdURL('/wp-content/themes/vip/techcrunch-2013/_uac/adpage.html');
window.ads.isAdPageSet = true;
}
}
window.htmlAdWH('93311123', "LB", "LB", 'f', 'adsDivca9e99bc88');
});
}(this,this.jQuery));
}
/* ]]> */
</script></a>
</div>
body > header > div > div > div.header-logo-bar > div.header-ad
================================================================================
AD#5 on http://techcrunch.com/
Xpath:
/html/body/div[3]/div[1]/div/div[2]/div/div[1]
HTML:
<div class="ad-unit ad-300x250">
<small class="advertise-here">
<a href="http://techcrunch.com/advertise/" title="Advertise on TechCrunch">
Advertisement </a>
</small>
<!-- Begin: Right Rail Advertisement -->
<div id="adsDivd0428c2e46" class=""><iframe width="300" height="250" title="Ad" marginwidth="0" marginheight="0" allowtransparency="true" frameborder="0" scrolling="no" id="atwAdFrame1" src="/wp-content/themes/vip/techcrunch-2013/_uac/adpage.html" banid="10596321|1" class="uac_300x250"></iframe></div>
<script>
/* <![CDATA[ */
if (!ads.isMobile()) {
(function(window,$){
window.TechCrunch.loader.on('tc_ads_wrapper_omniture', function(){
if ( !window.ads.isAdPageSet ){
if ( typeof window.adSetAdURL == 'function' ) {
window.adSetAdURL('/wp-content/themes/vip/techcrunch-2013/_uac/adpage.html');
window.ads.isAdPageSet = true;
}
}
window.htmlAdWH('93311231', "RR", "RR", 'f', 'adsDivd0428c2e46');
});
}(this,this.jQuery));
}
/* ]]> */
</script> <!-- End: Right Rail Advertisement -->
</div>
================================================================================
AD#6 on http://www.tomshardware.com/
Xpath:
//*[@id="topAd"]/section
HTML:
<section class="bomAd nolinks">
<!-- Zone 1 : 2014-08-13 18:52:03 -->
<div class="zonepub zonepub1 tomshardware_www/common/index.tpl">
<div id="div-gpt-ad-zonepub1">
<script type="text/javascript">
googletag.cmd.push(function() { googletag.display('div-gpt-ad-zonepub1'); });
</script><script type="text/javascript" id="ox_acj_4624494099" src="http://ox-d.tmn.servedbyopenx.com/w/1.0/acj?ef=db&ai=38b571e9-ce4a-4c4e-2a6c-fe54b1ff6075&o=4624494099&callback=OX_4624494099&ju=http%3A//www.tomshardware.com/&jr=&auid=537104514&res=2560x1440x24&plg=swf%2Csl%2Cpdf%2Cqt%2Cwmp%2Cshk%2Cpm&ch=UTF-8&tz=-480&ws=1302x1287&sd=1"></script><iframe src="http://us-u.openx.net/w/1.0/pd?plm=3&ph=25af9286-f23b-4b02-abcd-f2ee3b564dab" width="0" height="0" style="display:none;"></iframe>
<div id="google_ads_iframe_/10518929/tmn.thus/homepage_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/10518929/tmn.thus/homepage_0" name="google_ads_iframe_/10518929/tmn.thus/homepage_0" width="728" height="90" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom;"></iframe></div><iframe id="google_ads_iframe_/10518929/tmn.thus/homepage_0__hidden__" name="google_ads_iframe_/10518929/tmn.thus/homepage_0__hidden__" width="0" height="0" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom; visibility: hidden; display: none;"></iframe></div>
</div>
</section>
================================================================================
AD#7 on http://www.tomshardware.com/
Xpath://*[@id="mainSection"]/section[2]/section[2]/section[2]/section[1]
HTML:
<section class="advertRight spaceB15">
<section class="bomAd nolinks">
<!-- Zone 2 : 2014-08-13 18:52:03 -->
<div class="zonepub zonepub2 tomshardware_www/common/index.tpl">
<div id="div-gpt-ad-zonepub2">
<script type="text/javascript">
googletag.cmd.push(function() { googletag.display('div-gpt-ad-zonepub2'); });
</script><script type="text/javascript" id="ox_acj_5176586685" src="http://ox-d.tmn.servedbyopenx.com/w/1.0/acj?ef=db&ai=38b571e9-ce4a-4c4e-2a6c-fe54b1ff6075&o=5176586685&callback=OX_5176586685&ju=http%3A//www.tomshardware.com/&jr=&auid=537104515&res=2560x1440x24&plg=swf%2Csl%2Cpdf%2Cqt%2Cwmp%2Cshk%2Cpm&ch=UTF-8&tz=-480&ws=1302x1287&sd=1"></script><iframe src="http://us-u.openx.net/w/1.0/pd?plm=3&ph=25af9286-f23b-4b02-abcd-f2ee3b564dab" width="0" height="0" style="display:none;"></iframe>
<div id="google_ads_iframe_/10518929/tmn.thus/homepage_1__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/10518929/tmn.thus/homepage_1" name="google_ads_iframe_/10518929/tmn.thus/homepage_1" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom;"></iframe></div><iframe id="google_ads_iframe_/10518929/tmn.thus/homepage_1__hidden__" name="google_ads_iframe_/10518929/tmn.thus/homepage_1__hidden__" width="0" height="0" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom; visibility: hidden; display: none;"></iframe></div>
</div>
</section>
</section>
================================================================================
AD8 on https://hk.news.yahoo.com/
Xpath:
//*[@id="yom-ad-N2"]
HTML:
<div id="yom-ad-N2" class="yom-ad yom-ad-N2" style="visibility: inherit;"><div id="sb_rel_yom-ad-N2-iframe" class="darla" style="position: relative; z-index: 9; width: 950px; height: 250px; visibility: inherit; display: inline-block; font-size: 0px;"><iframe style="position: absolute; z-index: 10; width: 950px; height: 250px; visibility: inherit; top: 0px; left: 0px; display: block;" id="yom-ad-N2-iframe" src="https://s.yimg.com/rq/darla/2-8-1/html/r-sf.html" async="" frameborder="no" scrolling="no" allowtransparency="true" hidefocus="true" tabindex="-1" marginwidth="0" marginheight="0"></iframe></div></div>
================================================================================
AD9 on https://hk.news.yahoo.com/
Xpath:
//*[@id="yom-ad-LREC"]
HTML:
<div id="yom-ad-LREC" class="yom-ad yom-ad-LREC" style="visibility: inherit;"><div id="sb_rel_yom-ad-LREC-iframe" class="darla" style="position: relative; z-index: 9; width: 300px; height: 250px; visibility: inherit; display: inline-block; font-size: 0px;"><iframe style="position: absolute; z-index: 10; width: 300px; height: 250px; visibility: inherit; top: 0px; left: 0px; display: block;" id="yom-ad-LREC-iframe" src="https://s.yimg.com/rq/darla/2-8-1/html/r-sf.html" async="" frameborder="no" scrolling="no" allowtransparency="true" hidefocus="true" tabindex="-1" marginwidth="0" marginheight="0"></iframe></div></div>
================================================================================
AD10 on https://hk.news.yahoo.com/
Xpath:
//*[@id="yom-ad-NP2"]
HTML:
<div id="yom-ad-NP2" class="yom-ad yom-ad-NP2" style="visibility: inherit;"><div id="sb_rel_yom-ad-NP2-iframe" class="darla" style="position: relative; z-index: 9; width: 300px; height: 100px; visibility: inherit; display: inline-block; font-size: 0px;"><iframe style="position: absolute; z-index: 10; width: 300px; height: 100px; visibility: inherit; top: 0px; left: 0px; display: block;" id="yom-ad-NP2-iframe" src="https://s.yimg.com/rq/darla/2-8-1/html/r-sf.html" async="" frameborder="no" scrolling="no" allowtransparency="true" hidefocus="true" tabindex="-1" marginwidth="0" marginheight="0"></iframe></div></div>
Currently just JSON (should also probably be moved to a browser page, rather than a panel)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.