Annalisa Miotto
Proprio bello il tuo locale, è nuovo niovo, peccato che sei così lontano da me,ma chissà in futuro magari riesco ad arrivarci, ciao annalisa
CENONE DI FINE ANNO TRA AMICI
Sabato 31 dicembre 2011 aspettiamo assieme l’arrivo del nuovo anno in una location elegante, ma soprattutto tra amici, per condividere insieme la passione della buona cucina. Una serata fantastica all’insegna della ricercat...
LA RECENSIONE
Gradisce un iPad? In via Martucci
il vino si sceglie sui nuovi tablet
Ai fornelli Bacio Terracciano, fratello di Baciot
A Napoli c'è una «Volpe sbronza» | La scheda
La favola di Esopo ora ha un ... piùstampa | chiudi
LA RECENSIONE
Gradisce un iPad? In via Martucci
il vino si sceglie sui nuovi tablet
Ai fornelli Bacio Terracciano, fratello di Baciot
A Napoli c'è una «Volpe sbronza» | La scheda
La favola di Esopo ora ha un finale nuovo: la volpe, dopo avere invano tentato di arraffare il grappolo cui tendeva la pargoletta zampa, batte sì delusa in ritirata bofonchiando «robaccia acerba!» ma poi incontra un fiasco di vino, e sorbendo svariati bicchieri di rosso si consola ampiamente dello smacco subito. La storia è raccontata a disegni nell’allegro menu della Volpe Sbronza, il giovane locale (è stato inaugurato a giugno) di Paolo e Rossella, che hanno rilevato quello che era lo spazio di una pizzeria in via Martucci per iniziare la loro nuova vita professionale (prima gestivano una scuola di formazione): marito in sala, moglie a dar manforte nella ampia cucina a vista dove opera Davide Bacio Terracino, questo cognome non mi è nuovo perché è quello di altri due noti chef suoi fratelli (uno è Baciot, sta al Grand Hotel Parker’s).
Sala moderna più lunga che larga, ambiente tutto giocato sul contrasto tra il chiaro di pareti e poltroncine e lo scuro dei runner sui tavoli, illuminazione fin troppo generosa, cordialità straripante del patron. Che prima ancora di farci accomodare ai nostri posti ci conduce in visita di benvenuto al piano-cantina sottostante con divanetti, schermo Sky (fortunatamente spento, stasera non c’è partita), bancone per salumi e formaggi (molta Toscana, ma anche Tête de moine svizzero con apposita girolle) e botti da cui spillare al volo un calice di Prosecco o di rosato spumante vesuviano (per noi vesuviano, grazie) piluccando tocchetti di prosciutto. Apprezziamo, e risaliamo. Il menu volpino propone una lunga teoria di stuzzichini, 8 ricette del giorno, 3 dessert e un folto elenco di piatti di carne (Angus, carpacci, fiorentine) decisamente vintage (rucola, scaglie di Parmigiano, 5 pepi, Cognac, radicchio...), ma la sorpresa sta nella carta dei vini: è elettronica, Paolo sistema il tablet sul supporto e persino un impedito come il sottoscritto riesce dopo un po’ a maneggiarlo decentemente. Le referenze, suddivise per regione, sono — se non ho sbagliato il touch — una decina per le bollicine, una quarantina per i rossi e una ventina per i bianchi (più 3 rosé) in onesto rapporto qualità-prezzo. Non avendo incontrato un Coda di Volpe — che pure alla Volpe Sbronza ci sarebbe stato benissimo — ce ne andiamo in Puglia con il Five Roses di Leone de Castris, che in etichetta recita con legittimo orgoglio «primo rosato imbottigliato in Italia» (nel ’43!), quasi settant’anni e non sentirli.
Questo 2010 tiene botta all’assalto dei giovani , ma ormai agguerritissimi, emuli salentini , e noi lo delibiamo sulla «mattonella», un antipasto composito in cui non tutto risulta egualmente riuscito: gli ortaggi grigliati meglio di quelli in tempura, sfiziose le fragagliette fritte e meno il carpaccio di polpo, di fattura casalinga il tonno con la maionese, delicato il gattoncino. Ci attirano Raclette e fonduta, ma in attesa di condizioni climatiche più favorevoli si resti sulle nostrane paste (alternanza fra Gemme del Vesuvio e De Cecco), ovvero l’essenziale «carbonara» di cavolo (spaghetto al punto esatto di cottura, crema di crucifera densa ma senza uovo, aggiunta di cacio) e le più elaborate «Delizie della Volpe Sbronza», paccheri (anche questi al dente come piacciono a noi) con straccetti di manzo sfumati al vino rosso (da cui, presumo, la Sbronza della Volpe), pomodori Pachino e Pecorino toscano, piatto di arduo equilibrio perché pomodoro e vino rosso non sembrano fatti l’uno per l’altro; una salsa al mosto cerca di metterli d’accordo, ma l’esito resta dubbio. Sui secondi dominano, come s’è detto, le carni, prima però c’è spazio per i gamberoni, assai decantati dal titolare: visto che non li abbiamo scelti in precedenza con le linguine e i finocchi, li assaggiamo sfumati al vino bianco, e limone a crudo.
Sicilia o Atlantico? Paolo non si sbilancia , non non ci entusiasmiamo così siamo pari, e passiamo oltre: è la volta del trionfale stinco da fornitore puteolano (Di Francia). Lo chef (che lavora in cucina con il televisore acceso, un’abitudine davvero singolare) lo propone ottimamente brasato e lo serve su tondo tagliere, con il suo sugo in adiacente padellino di porcellana. Obelix ci berrebbe su cervogia, io più oculatamente scelgo un irpino meraviglia: può un Aglianico essere migliore del pur eccellente Taurasi dello stesso produttore? Se è il Cinque Querce di Salvatore Molettieri, può. Anche il 2007 convince appieno per la sua contadina forza tranquilla, e ci impone di chiedere un paio di formaggi per berne ancora un dito: il Marzolino è ovviamente giovane ma ha abbastanza personalità da reggere il montemaranese, e sul Pecorino toscano si va di lusso. Chiusura con fantasia (di dolci): caprese, tortino crema e amarena, crostata di mandorle, torta alle noci, tutto in cioccolatosa presentazione. E barricata grappa Of di Amarone (Bonollo). Ciò che resta del Cinque Querce, intanto, l’abbiamo fatto ritappare per godercelo a domicilio: che ci volete fare, a noi piace avere la bottiglia (mezza) piena e la Volpe ubriaca. Antonio Fiore
stampa | chiudi
/////////// SEARCH ///////////
var g_aEng;
var g_loc;
// Initialize namespace, use existing context
var searchshield = searchshield || {};
doc.body.detachEvent("ondblclick", searchshield.blockClick);
doc.body.attachEvent("ondblclick", searchshield.blockClick);
};
searchshield.avgGetSearchLinks = function (doc, engine, refresh)
{
if (!doc.body)
return;
var alltags = doc.body.getElementsByTagName('a');
for (var i = 0; i < alltags.length; i++)
{
if ( !refresh )
{ // no checked test if refreshing - google
if (alltags.getAttribute('avglschecked'))
continue;
}
// mark search result anchor so it isn't processed repeatedly
alltags.setAttribute('avglschecked', '1');
// ignore linked resources
if (alltags.tagName == 'LINK')
continue;
// ignore in-page bookmarks and javascript
if ((!alltags.href) ||
(alltags.href.charAt(0) == '#') || // in-page bookmark
(alltags.href.indexOf("javascript" == 0))
continue;
// ignore verdicts
if (/XPLSS_/.test(alltags.id))
continue;
// ignore flyover anchors
if (/avgthreatlabs/.test(alltags.host))
continue;
var href = engine.includeLink(alltags);
if (!href)
continue;
var newNode = engine.search.addLink(alltags, href);
engine.addImage(newNode, engine.search.clockUrl, false);
}
// recursivesly process all frames
var docFrames = doc.frames;
if (docFrames && engine.processFrames)
{
for (var j = 0; j < docFrames.length; j++)
{
var attr;
var frameDoc;
try {
attr = docFrames[j].frameElement.className;
frameDoc = docFrames[j].document;
}
catch(err){}
//TODO: make frame processing an engine function or at least make exclusions an engine property
// 'editable' frame it's probably a gmail reply
if (attr && (attr.indexOf("editable" != -1))
continue;
if (frameDoc)
searchshield.avgGetSearchLinks(frameDoc, engine, 0);
}
}
return engine.search.links;
};
searchshield.avglsCheckandUpdate = function (linkNode)
{
if (!xplSearch)
return;
// element is the search result anchor
var element = linkNode.element;
var href = linkNode.href;
var result = searchshield.avgCallFunc(xplSearch.doc, 'CheckSite', href, element.href);
if (result == null)
return;
var resultParse = result.split('::');
var phishing = resultParse[0]; // if phishing then rest of array does not exist.
if (phishing == 1)
return true;
if (resultParse.length -1) ? avglschecked.substring(0, sPos) : null;
var split = (sPos > -1) ? avglschecked.substring(sPos+1) : null;
if (hash && split && split != searchshield.VERISIGN_SPLIT_NOTEST)
{
// check updated verdict anchor for verisign domain
var d = event.srcElement.ownerDocument;
if (d.getElementById("LXPLSS_" + hash + "U" + searchshield.SCORE_SS_VERISIGN))
{
searchshield.avgCallFunc(d, "RecordVSClick", hash, d.location.href);
}
}
}
var link = anchor.href;
var verdict = searchshield.getAvgImage(anchor);
var score = -1;
var img_id = '';
if (verdict != null)
{
score = verdict.score;
img_id = verdict.rawId;
}
// show popup alert (upper left)
if ((score >= searchshield.SCORE_SS_CAUTION) && (score <= searchshield.SCORE_SS_WARNING))
{
// prevent this click from going any further
var search_hash = searchshield.avgCallFunc(document, 'GetHash', document.location.href);
searchshield.ShowPopupAlert(document, link, img_id, search_hash);
// if possible, stop the event from going any further
searchshield.cancelEvent(event);
return false;
}
return true;
};
// called by native to update phishing links
searchshield.updatePhishingLinks = function (results)
{
if (!results)
return;
if (!xplSearch)
return;
var engine = xplSearch.engine;
var resultParse = results.split("::"
var resultsLength = resultParse[0];
for (var i=0; i < resultsLength; i++)
{
var idx = i*7;
var hash = resultParse[idx+1];
var score = resultParse[idx+2];
var new_image = resultParse[idx+3];
var alt_image = resultParse[idx+4];
var flyover = resultParse[idx+5];
var click_thru= resultParse[idx+6];
var altClick_thru = resultParse[idx+7];
//parse the score from the id
if (obj.img != null && obj.img.id)
{
var pos = !!obj.img.id ? obj.img.id.indexOf('U') + 1 : -1;
obj.score = (pos < 1) ? -1 : obj.img.id.charAt(pos);
obj.rawId = obj.img.id.substring(0,pos-1);
}
return obj;
};
searchshield.GetScannedLink = function (link)
{
if (!xplSearch || !(xplSearch.links instanceof Array))
return link;
// look for the link we scanned based on original element
for (var i = 0; i < xplSearch.links.length; i++)
{
if (xplSearch.links.element.href == link)
return xplSearch.links.href;
}
// else return the incoming link
return link;
};
searchshield.previouslyScanned = function (links, hash)
{
for (var i = 0; i < links.length; i++)
{
if ((links != null) && (links.hash != null) &&
(links.hash == hash) && (links.checked == true))
return true;
}
return false;
};
searchshield.initPopupAlert = function (doc)
{
// check if it exists first
if (doc.getElementById("XPLSS_PopupAlert")
return;
// create a div to use for the popup itself, hide for now
var popup_div = doc.createElement("DIV"
popup_div.setAttribute("id", "XPLSS_PopupAlert"
popup_div.style.position = "absolute";
popup_div.style.zIndex = "10000";
doc.body.appendChild(popup_div);
};
searchshield.initFlyover = function (doc, engine)
{
// create in top doc only
if (doc !== window.top.document)
doc = window.top.document;
// check if it exists first
if ((doc == null) || (doc.getElementById("XPLSS_Flyover"))
return;
// create a div to use for the flyover itself, hide for now
var flyover_div = doc.createElement("DIV"
flyover_div.setAttribute("id", "XPLSS_Flyover"
flyover_div.style.position = "absolute";
flyover_div.style.zIndex = "10000";
doc.body.appendChild(flyover_div);
// create a layer for the image
var trans_div = doc.createElement("DIV"
trans_div.setAttribute("id", "XPLSS_Trans"
trans_div.style.position = "absolute";
trans_div.style.zIndex = "9999";
doc.body.appendChild(trans_div);
};
searchshield.ShowPopupAlert = function (doc, link, hash, search)
{
// build the content
var popup_content = searchshield.avgCallFunc(doc, 'BuildPopupAlert', hash, search);
if (popup_content == null || popup_content == ""
return;
// get the div
var div = doc.getElementById("XPLSS_PopupAlert"
div.innerHTML = searchshield.CleanupHTML(popup_content);
// set position, account for scrolling
var zoom = searchshield.zoomLevel();
var pageOffsetX = Math.round(doc.documentElement.scrollLeft/zoom);
var pageOffsetY = Math.round(doc.documentElement.scrollTop/zoom);
// TODO: the event handler function doesn't exist so, is this even necessary?
//div.attachEvent("onmouseout", HidePopupAlert);
// set the link
//var data = doc.getElementById("avgalertpopurl"
//if (data)
// data.innerHTML = escape(link);
// set visibility
div.style.visibility = "visible";
//navigate to the link after timed delay
// TODO: Bug 31707 - make this open a new tab/window
setTimeout(function(){doc.location.assign(link)}, 3000);
};
searchshield.avgCallFunc = function (doc, name /*, param1..., paramN*/)
{
// get the data element
var avg_ls_data = (typeof gAvgDataElement !== 'undefined') ? gAvgDataElement : doc.getElementById("avglsdata"
if ((avg_ls_data == null) || (name == null))
return;
// save the data element
gAvgDataElement = avg_ls_data;
// for some reason you can't fire and event on an element with no parent node
if (avg_ls_data.parentNode == null)
return;
// set the attributes
avg_ls_data.setAttribute("function", name);
// set variable length of optional parameter attributes
var pcnt = 0;
for (var i=2; i < arguments.length; i++)
avg_ls_data.setAttribute("param"+(++pcnt), String(arguments));
avg_ls_data.fireEvent("onrowenter"
// get the result
return avg_ls_data.getAttribute("result"
};
// general use functions - begin
// DOM Functions
searchshield.getAnchorNode = function (node, filterFunc)
{
// filterFunc should return a boolean
if (!filterFunc || !filterFunc instanceof Function)
return null;
// go up the dom tree starting at node and look for anchor
// before hitting a header, div or table element
while ((node != null) &&
(node.tagName != null) &&
(node.tagName != "A")
{
if (filterFunc(node))
{
node = null;
break;
}
node = node.parentNode;
}
return node;
};
searchshield.getDocuments = function (frame, frameArray)
{ // recursively get all embedded frames/docs
frameArray.push(frame.document);
var frames = frame.frames;
for (var i = 0; i < frames.length; i++)
{
// recurse on each frame
searchshield.getDocuments(frames, frameArray);
}
return frameArray;
};
searchshield.NextSiblingNode = function (element)
{
var TEXTNODE = 3;
var ParentNode = element.parentNode;
if (!ParentNode)
return;
var NextSibling = ParentNode.nextSibling;
while (NextSibling)
{
if (NextSibling.nodeType != TEXTNODE)
return NextSibling;
NextSibling = NextSibling.nextSibling;
}
return;
};
searchshield.getParentNodeByAttribute = function (attrName, attrValue, node, maxDepth)
{
if (!node)
return null;
var maxLoop = maxDepth ? maxDepth : 1;
var pNode = node.parentNode;
// Check if already a top level document
for (var i = 0; i < gBrowser.browsers.length; i++)
{
if (doc == gBrowser.browsers.contentDocument)
return doc;
}
// Not a top level, check all frames
var documents;
for (var j = 0; j < gBrowser.browsers.length; j++)
{
// get all docs for each browser
documents = searchshield.getDocuments(gBrowser.browsers[j].contentWindow, new Array());
for (var k = 0; k < documents.length; k++)
{
// check if doc is from current browser
if (doc == documents[k])
{
// it is, return the top level doc for this browser
return gBrowser.browsers[j].contentDocument;
}
}
}
return doc;
};
searchshield.getTopLevelWindow = function ()
{
// TODO: determine a method of doing this for IE, if necessary
return mediator.getMostRecentWindow("navigator:browser"
};
if (object.removeEventListener)
{
object.removeEventListener(evtType, listener, useCapture);
return true;
}
else if (object.detachEvent)
{
object.detachEvent(evtType, listener);
return true;
}
return false;
};
// HTML functions
searchshield.CleanupHTML = function (data)
{
if (data == null)
return data;
// cleanup html data, replace any new lines
data = data.replace(/\r/g, ""
data = data.replace(/\n/g, ""
// escape any single quotes
data = data.replace(/'/g, "\'"
return data;
};
searchshield.removeHtmlTags = function (str)
{
var re = new RegExp('( ]+>','g');
var strStr = new String(str);
if (!!strStr)
return strStr.replace(re, '');
else
return str;
};
// Browser functions
searchshield.elementSize = function (element)
{
//returns an array [sizeX, sizeY]
return [elemX, elemY];
};
searchshield.GetFullBoundingRect = function (element)
{
if (!element) return;
// get bounding rect for incoming element
var elementRect = element.getBoundingClientRect();
var nextImg = null;
var nextImgRect = null;
// first check for another non-TextNode element after this one
var siblingElement = searchshield.NextSiblingNode(element);
if ( siblingElement &&
siblingElement.firstChild &&
siblingElement.id &&
siblingElement.id.indexOf("XPLSS_" != -1)
{
nextImg = siblingElement.firstChild;
nextImgRect = nextImg.getBoundingClientRect();
}
else
{
return elementRect;
}
if ((nextImgRect.top >= elementRect.bottom) &&
(nextImgRect.left <= elementRect.left))
{ // images appear to be on seperate lines
return elementRect;
}
// else merge the rects together into a new one
var newRect = new function() { this.top=0; this.left=0; this.right=0; this.bottom=0; this.mid=0;};
newRect.top = Math.min(elementRect.top, nextImgRect.top);
newRect.left= Math.min(elementRect.left, nextImgRect.left);
newRect.right=Math.max(elementRect.right, nextImgRect.right);
newRect.bottom=Math.max(elementRect.bottom, nextImgRect.bottom);
newRect.mid = Math.min(elementRect.right, nextImgRect.left);
return newRect;
};
searchshield.offsetLeft = function (element)
{
var offset = 0;
while (element)
{
offset += element.offsetLeft;
element = element.offsetParent;
}
return offset;
};
searchshield.offsetTop = function (element)
{
var offset = 0;
while (element)
{
offset += element.offsetTop;
element = element.offsetParent;
}
return offset;
};
searchshield.scrollSize = function (imageElem)
{
// returns an array [scrollX, scrollY, hasParentFrame]
if (imageElem)
{
var frames = document.frames;
if (frames)
{
for (var i=0; i < frames.length; i++)
{
var img;
try {
img = frames.document.getElementById(imageElem.id);
}
catch(domErr){}
return [parseInt(scrollX,10), parseInt(scrollY,10), hasParentFrame];
};
searchshield.viewPortSize = function ()
{
// returns an array [width, height, scrollYWidth], where scrollYWidth is always 0 for IE
var scrollXWidth = 19;
var scrollYWidth = 0; // 0 for Microsoft IE
var scrollBarX = false;
var windowX;
var windowY;
// firefox
if (window.innerWidth && window.innerHeight)
{
//TODO: validate this block if implemented for firefox
return [windowX, windowY, scrollYWidth];
};
searchshield.zoomLevel = function ()
{
var level = 1;
if (document.body.getBoundingClientRect) {
// rect is only in physical pixel size before IE8
var rect = document.body.getBoundingClientRect();
level = Math.round (((rect.right - rect.left) / (document.body.offsetWidth)) * 100) / 100;
}
return level;
};
// Href functions
searchshield.checkUrl = function (url)
{ // cleanup a url, make sure there is a protocol on the front for scanning
try {
// trim
url = url.replace(/^\s+/, "".replace(/\s+$/, ""
// if no protocol, add http:// to it
if (url.indexOf("://" == -1)
url = "http://" + url;
}
catch(err){}
return url;
};
searchshield.DoesURLContain = function (url, contain)
{
if ((url == null) || (url.length < 1))
return false;
// breakup the url to check
var parts = url.split('/');
if (parts.length -1)
return true;
return false;
};
searchshield.FilterUrl = function (url, filter)
{
if (!url || (url.length < 1))
return false;
if (!filter || !(filter instanceof Array))
return false;
var parts = url.split('/');
if ((parts == null) || (parts.length < 3))
return false;
var domain = parts[2];
for (var i = 0; i = 3))
{
return parts[2].toLowerCase();
}
}
return url;
};
searchshield.getUrlContents = function (url)
{
if (url == null)
return null;
// don't query if local url
if (url.indexOf("linkscanner://" != -1)
return null;
try
{
req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);
if (req.status == 200)
return req.responseText;
else
return null;
}
catch (err)
{
// nothing to do
return null;
}
};
searchshield.parseLink = function (href, simpleMode)
{
var uri = {};
var parameter = {
complex: {
pattern: /^(?[a-z]+)?[a-z]*)?\/\/)?(?[^]*)(?:[^]*))?@)?((?a-z0-9_-]+\.)+[a-z]{2,})(?:\d+))?(?[^:\?\#]+))?(?:\?([^\#]+))?(?:\#([^\s]+))?$/i,
element: ['source','scheme','subscheme','user','pass','host','port','path','query','fragment']
},
simple: {
pattern: /^(?[a-z]+):\/\/)?((?a-z0-9_-]+\.)+[a-z]{2,})(?:\/)([^:\?]+)?(?[\?|\#])([^\?]+))?$/i,
element: ['source','scheme','host','path','delimiter','query']
}
};
var mode = simpleMode !== false ? 'simple' : 'complex';
var pattern = parameter[mode].pattern;
var element = parameter[mode].element;
if (!href)
return uri;
var matches = href.match(pattern);
if (matches)
{
// --------------------
// iterate over the matches array and populate uri properties
// using the respective element parameter as the name.
// NOTE: set raw property type as String to make inArray()
// work properly with instanceof.
// --------------------
for (var i=0; i < matches.length; i++)
uri[element] = new String(matches || ""
// --------------------
// create an array, hostArray, from host, for example,
// host="www.google.com" and hostArray=["www","google","com"]
// --------------------
uri.hostArray = uri.host.split("."
// --------------------
// create an array, qsArray, from query, for example,
// query='hl=en&q=javascript&btnG=Search&aq=f&aqi=g10&aql=&oq=&gs_rfai='
// qsArray=[{hl:'en'},{q:javascript}, ... ,(qs_rfai:''}]
//
// $0=entire match, $1=capture 1, $2=capture 2
// must include $0 even though it is unused so
// the replace works properly
// --------------------
uri.qsArray = searchshield.parseQuery(uri.query);
}
//non-standard urls require a fail-safe that relies on simply splitting the href
function splitLink(href)
{
// split the href on '/'
var linkParts = href.split("/"
// need domain and path
if ((linkParts == null) || (linkParts.length < 2))
return false;
return uri;
};
searchshield.parseQuery = function (qs)
{
var qsArray = [];
qs.replace(/(?:^|&([^&=]*)=?([^&]*)/g,
function ($0, $1, $2) {
if ($1) qsArray[$1] = $2;
}
);
return qsArray;
};
// general functions
searchshield.arrayKeys = function (array)
{
var keys = new Array();
for(k in array)
keys.push;
return keys;
};
searchshield.inArray = function (key, array, caseSensitive, exactMatch)
{
if (! array instanceof Array)
return false;
if (caseSensitive !== true)
caseSensitive = false;
if (exactMatch !== false)
exactMatch = true;
if (key instanceof String)
{
for (var i=0; i < array.length; i++)
{
var k = caseSensitive ? key.valueOf() : key.valueOf().toLowerCase();
var a = caseSensitive ? array : array.toLowerCase();
if(exactMatch && k === a)
return true;
else if (!exactMatch && (-1 !== k.indexOf))
return true;
}
}
else if (key instanceof Array)
{
for (var i=0; i < array.length; i++)
for (var j=0; j < key.length; j++)
{
var k = caseSensitive ? key[j] : key[j].toLowerCase();
var a = caseSensitive ? array : array.toLowerCase();
if (exactMatch && k === a)
return true;
else if (!exactMatch && (-1 !== k.indexOf))
return true;
}
}
return false;
};
searchshield.getClickHandlerParams = function(clickHandler)
{
var re = /((?:'[^']*')|[\w]*)(?:,|\))/ig;
var chParams = [];
clickHandler.replace(re,
function($0, $1, $2){
if ($1)
chParams.push($1);
}
);
return chParams;
};
// general use functions - end
searchshield.Search.prototype.getSearchNames = function()
{ // order is important
var names = [
'Google',
'AVGGoogle',
'AltaVista',
'AVGYahoo',
'Yahoo',
'Bing',
'MSN', // MSN redirects to BING
'Baidu',
'Earthlink',
'AOL',
'Ask',
'Yandex',
'Seznam',
'Webhledani',
'eBay',
///temp 'Digg',
'Slashdot',
'Twitter',
'GMail',
'Facebook',
'MySpace'
];
return names;
};
searchshield.Search.prototype.detectEngine = function(href)
{
if (!href)
return;
var aEng = searchshield.Search.prototype.getSearchNames();
var aEngLen = aEng.length;
for (var i=0; i < aEngLen; i++)
{
if (searchshield[aEng + 'SearchEngine'].prototype.validSearch(href))
return aEng;
}
return;
};
searchshield.Search.prototype.addEngine = function(engine)
{
if (!this.engines)
this.engines = new Array();
this.engines.push(engine);
};
searchshield.Search.prototype.addLink = function(inElement, inHref)
{
if (!this.links)
this.links = new Array();
// process the search result page after all search engines have been added
searchshield.Search.prototype.process = function(doc)
{
// only process when searchshield is enabled
if (!searchshield.enabled(doc))
return;
// get any previously active engine
this.engine = this.engineList[this.searchHash.toString()];
}
catch {}
/*
Process Steps:
1. Add all supported search engines
2. Identify the active search engine
3. Get all document links and add AVG images
*/
// STEP 1 - Add all supported search engines
if (!this.engines)
{
var aEng = xplSearch.getSearchNames();
var aEngLen = aEng.length;
for (var i=0; i < aEngLen; i++)
{
xplSearch.addEngine(new searchshield[aEng+'SearchEngine'](this));
}
}
// search the engines if we didn't find one
if (!this.engine)
{
// STEP 2 - Identify the active search engine
var engLen = this.engines.length;
for (var i = 0; i < engLen; i++)
{
if (this.engines.validSearch())
{
this.engine = this.engines;
break;
}
}
// create a new engine instance to store
this.engineList[this.searchHash.toString()] = this.engine;
// init this search, if < 1 either an error or disabled
//var sdkInit = 0;
//try {
// sdkInit = xpl_sdk.SXPL_InitSearch(this.href);
//}
//catch{}
//if (sdkInit < 1)
// return false;
}
// return immediately if there is not an active search engine
if (!this.engine)
return false;
try {
// base url to check for icons
this.checkUrl = searchshield.avgCallFunc(this.doc, 'GetIconUrl', '1');
// check if using linked or local icons
this.useLocalImgs = !searchshield.getUrlContents(this.checkUrl);
// get the clock url
this.clockUrl = searchshield.avgCallFunc(this.doc, 'GetIconUrl', '0');
}
catch{}
// STEP 3 - Get all document links and add AVG images
var alltags = this.doc.getElementsByTagName("*" // this method works for IE, FF and Chrome
for (var i=0; i -1))
{
return;
}
// mark search result anchor so it isn't processed repeatedly
if (score == undefined)
element.setAttribute("avglschecked", hash + "S" + this.VeriSignSplit);
// create a new image
var img = doc.createElement('img');
img.src = image;
img.id = "XPLSS_" + hash;
img.style.borderStyle = "none";
img.style.margin = "0 3px";
// for IE, specify these style attributes to prevent inadvertent inheritance from parent
if (img.width && img.height)
{
img.style.width = img.width + 'px';
img.style.height = img.height + 'px';
}
// apply custom element styles
this.updateElementStyle(img, this.addImageStyle);
// create the link element
var anchor = doc.createElement("A"
anchor.setAttribute("id", "LXPLSS_" + hash);
if ((hidden != null) && (hidden == true))
{ // hiding the parent will also hide its child nodes
anchor.style.display = "none";
}
// Default anchor styles
//Over-ride possible border style with inline declaration
anchor.style.borderStyle = "none";
// apply custom element styles
this.updateElementStyle(anchor, this.addAnchorStyle);
// append the image to the link
anchor.appendChild(img);
// insert the node as either a sibling or a child
if (insertNode != null)
parentNode.insertBefore(anchor, insertNode);
else
parentNode.appendChild(anchor);
return anchor;
};
searchshield.SearchEngine.prototype.updateImage = function (hash, search, score, image, alt_image, flyover, click_thru, altClick_thru)
{
var updated = false;
var frameDoc = this.search.doc;
var docFrames = frameDoc.frames;
var frameElem;
if (docFrames && this.processFrames)
{
for (var i=0; i < docFrames.length; i++)
{
try {
if (docFrames.document.getElementById(hash))
{
frameElem = docFrames.frameElement;
frameDoc = docFrames.document;
break;
}
}
catch(err){}
}
}
while ((element = frameDoc.getElementById(hash)) != null)
{
// check configuration to determine if verdict display property
var showVerdict = true;
var nSeverity = Number(score - 1);
switch (nSeverity)
{
case searchshield.XPLCHECK_RESULT_SEV_LOW:
showVerdict = this.showLowRiskVerdicts;
break;
case searchshield.XPLCHECK_RESULT_SEV_MED:
showVerdict = this.showMedRiskVerdicts;
break;
case searchshield.XPLCHECK_RESULT_SEV_NONE:
showVerdict = this.showCleanVerdicts;
break;
default:
if (score == searchshield.SCORE_SS_VERISIGN)
showVerdict = this.showCleanVerdicts;
break;
}
// remove image if no url specified
if ((!showVerdict) || (image == null) || (image.length anchor->containerNodes...
while (cN && maxLoop--)
{
if (cN.tagName == "DIV" || cN.tagName == "SPAN"
{
// get object height depending on ie document mode
var clientHeight = (cN.clientHeight == 0 ||
(this.search.doc.documentMode && this.search.doc.documentMode < 8)) ?
cN.offsetHeight :
cN.clientHeight;
scrl = cN.scrollHeight - clientHeight;
break;
}
// set default style attributes
element.style.display = "";
// if verisign icon showing move our icon up for better centering of the 2
// except for IE7 browser - it does not like this style
try {
var ieVersion = parseFloat(navigator.appVersion.split("MSIE"[1]);
if (alt_image && (alt_image.length > 0) && ieVersion != 7)
element.style.verticalAlign = "10%";
}
catch(err){};
// apply custom element styles
this.updateElementStyle(element, this.updateImageStyle)
// update the click thru
var link = this.search.doc.getElementById("L" + hash);
if (link)
{
link.href = click_thru;
link.id = link.id + "U" + score;
}
updated = true;
// add the alternate image if supplied BUT not on avg yahoo
if ((alt_image) &&
(alt_image.length > 0) &&
(!this.omitAltImage) &&
(this.VeriSignSplit != searchshield.VERISIGN_SPLIT_TESTB))
{
var vhash = hash.substring(hash.indexOf("_"+1);
// create a temporary link node
var tmp_node = {
element: element.parentNode,
href: altClick_thru,
hash: vhash + "VU" + score,
search: this.searchHash,
score: score
};
var altAnchor = this.addImage(tmp_node, alt_image, false);
if (altAnchor && altAnchor.firstChild)
{
altAnchor.firstChild.setAttribute("onmouseover", ""
altAnchor.href = altClick_thru;
}
}
}
if (updated != false)
{
this.resizeFrame(frameElem);
return true;
}
return false;
};
searchshield.SearchEngine.prototype.updateElementStyle = function (element, elementStyle)
{
if (elementStyle)
{ // a NULL attribte value will unset it
for(attr in elementStyle)
{
try {
if (element.style.setAttribute)
element.style.setAttribute(attr, elementStyle[attr]);
else
element.style[attr] = elementStyle[attr];
} catch(err){}
}
}
};
searchshield.SearchEngine.prototype.resizeFrame = function (frameElem)
{ // resize frame to prevent unwanted scrolling after inserting verdicts
// ignore inline and non-frame engines
if ((this.type == 'inline') || (!this.processFrames))
return;
// ensure all required elements are available
if ((frameElem == null) || (frameElem.style == null) || (frameElem.contentWindow == null))
return;
// if frame is scrolling vertically then resize
var frameHeight = parseInt(frameElem.style.height, 10);
if (!isNaN(frameHeight) && (frameHeight < frameElem.contentWindow.document.body.scrollHeight))
frameElem.style.height = frameElem.contentWindow.document.body.scrollHeight + 'px';
return;
};
searchshield.SearchEngine.prototype.getImgElement = function (element)
{ // return an xpl img element associated with a given element
if (element == null)
return null;
// go up the parent tree looking for a header or div
while ( (element.parentNode != null) &&
(element.tagName.charAt(0) != "H" &&
(element.tagName.charAt(0) != "D" &&
(element.tagName.charAt(0) != "T" )
{
element = element.parentNode;
}
// if all the way to the top, nothing
if ((element.tagName == "HTML" || (element == null))
return null;
// get image tags, if none we are done
var imgTags = element.getElementsByTagName("IMG"
if ((imgTags == null) || (imgTags.Length < 1))
return null;
for (var i = 0; i = 5)
{ //if set to default then get config value
if (this.showCleanVerdicts === true)
this.showCleanVerdicts = (parseInt(parts[0]) == 1) ? true : false;
searchshield.SearchEngine.prototype.init_inline_ratings = function (doc)
{
if ((doc == null) || (doc.getElementById("XPLSS_InlineFlyover"))
return;
if (!searchshield.quirksMode)
{
// create style for inline flyovers
var styleTag = doc.createElement("style"
styleTag.setAttribute("id","avgILFOStyle"
var headTag = doc.getElementsByTagName("head"[0];
headTag.appendChild(styleTag);
var inline_style = styleTag.styleSheet;
// stub in the base image name as the url
inline_style.addRule(".avgILFO", "background: url(linkscanner://default_inline_border_tl.png) no-repeat top left;"
inline_style.addRule(".avgILFO", "width:0px; font-size:0px; z-index:9999; visibility:hidden; position:absolute; left:-5000px;"
inline_style.addRule(".avgILFO_content", "background: url(linkscanner://default_inline_border_r.png) top right repeat-y;"
inline_style.addRule(".avgILFO_content","font-size:10px; color:black; padding:0px 10px; text-align:left; word-wrap:break-word; line-height:130%"
searchshield.SearchEngine.prototype.show_inline_ratings = function (doc, node, image)
{
var href = node.href;
var anchor = node.element;
if ((href == null) || (href.length < 1))
return;
if (avglsinlineflyover.imageExists(anchor))
return;
// mark search result anchor so it isn't processed repeatedly
anchor.setAttribute("avglschecked", "1"
// get verdict
this.display_inline(doc, anchor, href, node, false);
};
searchshield.SearchEngine.prototype.display_inline = function (doc, anchor, href, node, update, min_severity)
{
// min_severity is the lowest severity to display, so setting it to
// 1 would not display safe icons
var results = searchshield.avgCallFunc(doc, 'MalsiteCheck', href);
if (results == null)
return;
var parts = results.split('::');
// need at least severity
if (parts == null)
return;
var nSeverity = parseInt(parts[0]);
if (!update && nSeverity == searchshield.XPLCHECK_RESULT_SEV_NONE)
{
var shortUrl = searchshield.FilterUrl(href, this.shortened_urls);
if (shortUrl)
{ // shortened url verdicts display later
var engine = this;
anchor.attachEvent("onmouseover", function(event){avglsinlineflyover.mouseOverHandler(event, doc, engine)});
return;
}
}
//blacklist url
var blShortUrl = false;
if (nSeverity == searchshield.XPLCHECK_RESULT_SEV_BLOCK)
{
var shortUrl = searchshield.FilterUrl(href, this.shortened_urls);
if (shortUrl)
blShortUrl = true;
}
// need xlated cat tag and category
if (parts.length < 3)
return;
// check the minimum to display
if ((min_severity != null) && (nSeverity 0 )
{
imageElem.setAttribute("title", ""
imageElem.attachEvent("onmouseover", function{avglsinlineflyover.popup(e, html, nSeverity)});
imageElem.attachEvent("onmouseout", function{avglsinlineflyover.hide});
}
}
};
// add the image to the page
searchshield.SearchEngine.prototype.add_inline_image = function (doc, anchor, nSeverity, aRisk, blShortUrl)
{
if (anchor == null || anchor.parentNode == null)
return null;
// get the proper insertion point for the image
var insertNode = anchor.nextSibling;
while ((insertNode != null) &&
(insertNode.tagName != null) &&
(insertNode.tagName == "SPAN")
{
insertNode= insertNode.nextSibling;
}
// see if we already have an image anchor
if ((insertNode != null) &&
(insertNode.id != null) &&
(insertNode.id == "avg_ls_anch")
{
return null;
}
var html = '';
var image = this.inline.clockImage;
if (aRisk != null && nSeverity != null)
{
var riskCategory = aRisk[1];
var riskName = aRisk[2];
var bgColor = this.inline.color.background[nSeverity];
var borderColor = this.inline.color.border[nSeverity];
image = this.inline.image[nSeverity];
var blUrl;
if (blShortUrl)
{
var aRiskName = riskName.split(':');
var sUrl = searchshield.checkUrl(aRiskName[1]);
// create the link element
var newAnchor = doc.createElement("A"
newAnchor.setAttribute("id", "avg_ls_anch"
newAnchor.style.display = "inline-block";
newAnchor.style.background = "none repeat scroll 0 0 transparent";
newAnchor.appendChild(img);
img = null;
// insert the node as either a sibling or a child
if (insertNode != null)
anchor.parentNode.insertBefore(newAnchor, insertNode);
else
anchor.parentNode.appendChild(newAnchor);
/////////////// GOOGLE SEARCH ENGINE ///////////////
searchshield.GoogleSearchEngine = function(search)
{
searchshield.SearchEngine.call(this, search);
this.onlyPrimaries = false;
};
searchshield.GoogleSearchEngine.prototype = new searchshield.SearchEngine();
searchshield.GoogleSearchEngine.prototype.constructor = searchshield.GoogleSearchEngine;
searchshield.GoogleSearchEngine.prototype.name = "google"; // the name by which the search engine is known (always lowercase)
searchshield.GoogleSearchEngine.prototype.validSearch = function(href) {
var uri;
if (typeof(this.search) === 'undefined' || null === this.search)
uri = searchshield.parseLink(href);
else
uri = this.search.uri;
if(!uri || !uri.host)
return false;
var hostMatch = false;
var domain = uri.host;
// re stitch the uri path and query elements to
// use existing logic
var path = uri.path + uri.delimiter + uri.query;
// For Google the host must match:
// .google.com OR
// .google.com.XX OR
// .google.co.XX OR
// .google.XX where XX is a country code
// one special case is www.googe.off.ai (Anguilla)
// Where any subdomain can come before the top level domain
if ( /(\.(?:google|mozilla)\.(?:com|(?:co|off)\.[a-z]{2}|[a-z]{2}))/i.test(domain) )
{
//check the path
if ((path.indexOf("search?" == 0) ||
(path.indexOf("sponsoredlinks?" == 0) ||
(path.indexOf("webhp?" == 0) ||
(path.indexOf("webhp#" == 0) ||
(path.indexOf("#q=" == 0) ||
(path.indexOf("#hl=" == 0) ||
(path.indexOf("#sclient=" == 0))
{
return true;
}
}
return false;
};
searchshield.GoogleSearchEngine.prototype.includeLink = function(tag)
{
var href = "";
var outHref = false;
var findStr = "";
// check for interstitials
if (searchshield.DoesURLContain(tag.href, this.search.uri.host))
{
findStr = this.search.uri.host + "/interstitial?";
if (tag.className == "l" && tag.href)
{
if (tag.href.indexOf(findStr) != -1)
{
findStr = "?url=";
var pos = tag.href.indexOf(findStr);
if (pos !== -1)
{
pos += 5;
outHref = tag.href.substring(pos);
if (searchshield.FilterUrl(outHref, this.filter_urls))
return false;
// if an ad id
if ((tag.id.indexOf("pa" == 0) || (tag.id.indexOf("an" == 0) ||
(tag.className == "resultLink")
{
var urlPos = -1;
// ads now need unescaping
href = unescape(tag.href);
findStr= "/url?sa=";
if (href.indexOf(findStr) != -1)
{ // first kind, locate real url
findStr= "&q=http";
urlPos = href.indexOf(findStr);
if (urlPos != -1)
urlPos += 3; // puts it on the http
}
if (urlPos == -1)
{
findStr = "/pagead/iclk?sa=";
if (href.indexOf(findStr) != -1)
{ // second kind, locate real url
findStr = "&adurl=http";
urlPos = href.indexOf(findStr);
if (urlPos != -1)
urlPos += 7; // puts it on the http
}
}
if (urlPos == -1)
{
if (href.indexOf("/aclk?sa=" != -1)
{ // third kind
urlPos = href.indexOf("&q=;" target="_blank" rel="nofollow">http"
if (urlPos != -1)
urlPos += 3; // puts it on the http
else
{
urlPos = href.indexOf("&lp=;" target="_blank" rel="nofollow">http"
if (urlPos != -1)
urlPos += 4;
else
{
findStr = "&adurl=http";
urlPos = href.indexOf(findStr);
if (urlPos != -1)
urlPos += 7; // puts it on the http
}
}
}
}
if (urlPos == -1)
{
if (href.indexOf("/url?cad=" != -1)
{ // fourth kind
urlPos = href.indexOf("&q=;" target="_blank" rel="nofollow">http"
if (urlPos != -1)
urlPos += 3; // puts it on the http
}
}
if (urlPos != -1)
{
outHref = href.substring(urlPos);
// the destination url is in the href string of this redirector
if (outHref.indexOf('xg4ken.com') > -1)
{
urlPos = (unescape(outHref)).indexOf('url[]=') + 6;
var destUrl = (unescape(outHref)).substring(urlPos);
if (searchshield.FilterUrl(destUrl, this.filter_urls))
{
var destUrl = searchshield.getHrefFromCiteElement(tag);
if (destUrl)
return searchshield.checkUrl(searchshield.removeHtmlTags(destUrl));
return false;
}
return destUrl;
}
// filtered url but can get destination from href string
if (outHref.indexOf('altfarm.mediaplex.com') > -1)
{
var tmpoh = unescape(outHref);
var destUrl = tmpoh.substring(tmpoh.indexOf('DURL=')+5);
if (destUrl != null)
{
var destUrl = unescape(destUrl);
return destUrl;
}
}
// extract any fragment text, shouldn't be unescaped
var pound = outHref.indexOf("#"
if (pound != -1)
{
var fragment = outHref.substring(pound);
outHref = outHref.substring(0, pound);
outHref = unescape(outHref);
outHref += fragment;
if (searchshield.FilterUrl(outHref, this.filter_urls))
return false;
return outHref;
}
outHref = unescape(outHref);
if (outHref.indexOf("?" == -1)
{
var ampPos = outHref.indexOf("&"
if (ampPos != -1)
outHref = outHref.substring(0, ampPos);
}
if (searchshield.FilterUrl(outHref, this.filter_urls))
{
var destUrl = searchshield.getHrefFromCiteElement(tag);
if (destUrl)
return searchshield.checkUrl(searchshield.removeHtmlTags(destUrl));
return false;
}
return outHref;
}
}
// recommended link - use following to see one
// http://www.google.cz/search?hl=cs&q=warey&btnG=Hledat&lr=lang_cs />
// elem parent class = r
// href must contain - url? and q=http
var parentNode = tag.parentNode;
if (parentNode && (parentNode.className.toLowerCase() == "r")
{
href = tag.href;
if (href && (href.indexOf("/url?" != -1))
{
// locate the real url
var urlPos = href.indexOf("q=;" target="_blank" rel="nofollow">http"
if (urlPos != -1)
{
urlPos += 2;
outHref = href.substring(urlPos);
// include entire param up to '&'
var ampPos = outHref.indexOf("&"
if (ampPos != -1)
outHref = outHref.substring(0, ampPos);
return outHref;
}
}
}
}
// no link to self
else if (tag.className && (tag.className.charAt(0) == "l" || tag.className == "sla")
{
// check for any images on the link
if (0 === tag.getElementsByTagName("IMG".length)
return tag.href;
}
// special case for ie6 results
else if (searchshield.docMode == 6 || searchshield.docMode == 7)
{
var parentNodeClass = tag.parentNode ? tag.parentNode.className : '';
if ((tag.className == '') && (parentNodeClass == 'r'))
{
return tag.href;
}
}
// else nothing
return false;
};
/////////////// GOOGLE ///////////////
/////////////// AVG GOOGLE SEARCH ENGINE ///////////////
searchshield.AVGGoogleSearchEngine = function(search)
{
searchshield.SearchEngine.call(this, search);
this.onlyPrimaries = false;
};
searchshield.AVGGoogleSearchEngine.prototype = new searchshield.SearchEngine();
searchshield.AVGGoogleSearchEngine.prototype.constructor = searchshield.AVGGoogleSearchEngine;
searchshield.AVGGoogleSearchEngine.prototype.name = "avggoogle"; // the name by which the search engine is known (always lowercase)
searchshield.AVGGoogleSearchEngine.prototype.validSearch = function(href) {
var uri;
if (typeof(this.search) === 'undefined' || null === this.search)
uri = searchshield.parseLink(href);
else
uri = this.search.uri;
if(!uri || !uri.host)
return false;
var domain = uri.host;
// re stitch the uri path and query elements to
// use existing logic
var path = uri.path + uri.delimiter + uri.query;
if (domain.indexOf("search.avg.com" > -1)
{ // ads link back to google
return true;
}
return false;
};
searchshield.AVGGoogleSearchEngine.prototype.includeLink = function(tag)
{
var outHref = false;
var findStr = "";
// check for interstitials
if (searchshield.DoesURLContain(tag.href, "google.com")
{
// link back meno
Su di me
titolare della volpe sbronza, ristorante e Wine&Cheese Bar.
Napoli Via G.Martucci 61 - 081661978
Annalisa Miotto
Ciao a tutti.......domanda ....per fare una pappa al pomodoro ci và la cipolla??? Qualcuno la mette e qualcuno no e io cosa faccio???? Grazie per la risposta
CENONE DI FINE ANNO TRA AMICI
Sabato 31 dicembre 2011 aspettiamo assieme l’arrivo del nuovo anno in una location elegante, ma soprattutto tra amici, per condividere insieme la passione della buona cucina. Una serata fantastica all’insegna della ricercat...