Skip to content

Commit

Permalink
Release v1.20rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowe committed Apr 23, 2015
1 parent 2e878ba commit bd60ec6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 28 deletions.
26 changes: 0 additions & 26 deletions data/elemhide.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,32 +67,6 @@ var admatchers = [
//{ selector: "div[class^=ad]", waitfor: "div.l_qq_com > iframe", handler: qqImg2, name: 'qq2' }
];

// TODO: restrict these to specific domain ?

function msnImg(anchor) { // not used now (all in iframes)

console.log('msnImg: ', anchor.length);

var targetUrl = anchor.attr('href'),
imgTag = anchor.find('img');

console.log('anchor: ', anchor.html);
console.log('targetUrl: ', targetUrl);
console.log('imgTag: ', imgTag.length);

if (!imgTag.length) return;

var img = imgTag.attr('src');

if (targetUrl.length && img.length) {

var ad = createImgAd('qq', img, targetUrl);
self.port && self.port.emit('parsed-img-ad', ad);
} else {
console.warn('sohuImg.fail: ', img, targetUrl);
}
}

function sohuImg(anchor) {

//console.log('sohuImg: ', anchor.length);
Expand Down
2 changes: 1 addition & 1 deletion locale/en-US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ adn.menu.pause=Pause Adnauseam
adn.menu.start=Start Adnauseam

adn.menu.adsDetected=clicked
adn.menu.adsFound=ads detected
adn.menu.adsFound=ads on this page
adn.menu.ofThe=of the
adn.menu.settings=Settings
adn.menu.viewAdVault=View Ad Vault
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion pub-xpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ XPI_FILE="adnauseam-$1.xpi"

echo Publishing $XPI_FILE
echo " to $RED:$XPI_DIR"
echo " not linked"
echo " (not linking)"

#cat adnauseam.xpi | /usr/bin/ssh ${RED} "(cd ${XPI_DIR} && /bin/rm -f $XPI_FILE && cat - > $XPI_FILE && ln -fs $XPI_FILE adnauseam.xpi && ls -l)"

cat adnauseam.xpi | /usr/bin/ssh ${RED} "(cd ${XPI_DIR} && /bin/rm -f $XPI_FILE && cat - > $XPI_FILE)"


Expand Down

0 comments on commit bd60ec6

Please sign in to comment.