url |
^https?://variety(latino)?\.com |
nextLink |
//section[@class='l-river']/footer/a[@class='c-more']|//a[@class='c-arrows__next']|//div[@class='pagination more-news']/a|//li[@class='next']/a|//a[@class='next page-numbers'] |
pageElement |
//div[@class='l-river__content']/ul[@class='l-list']/li[article/figure]|//div[@class='col1']/section[starts-with(@class,'module-blogroll')] |
exampleUrl |
http://variety.com http://variety.com/v/tv/ http://varietylatino.com/ |
bookmarklet2 |
var result = document.evaluate('//img[contains(@class,"lazy")]',document, null, 7, null);
var result2 = document.evaluate('//a[./img[contains(@class,"lazy")]]',document, null, 7, null);
for(var i=0;i<result.snapshotLength;i++)
{
result.snapshotItem(i).src=result.snapshotItem(i).dataset.src;
result.snapshotItem(i).style.display='inline-block';
}
for(var j=0;j<result2.snapshotLength;j++)
{
result2.snapshotItem(j).style.padding='0';
} |
bookmarklet |
Array.prototype.forEach.call(document.querySelectorAll('img'), function(img) { var lazySrc = img.hasAttribute('data-src') ? img.getAttribute('data-src') : img.getAttribute('data-original'); if (lazySrc) { img.src = lazySrc;} }); |
Stylish |
@-moz-document domain("variety.com") { img.lazy { display: inline-block !important; }
.c-card__image a{padding:0;} } |