מדיה ויקי:Common.js: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 232: שורה 232:
}
}
});
});
/* Use http redirect for Haaretz links until there's a less ad-hoc solution */
if ( location.protocol === 'https:' ) {
$( 'a.external[href^="http://www.haaretz.co.il"]' ).each( function() {
$( this ).attr( 'href', 'http://tools.wmflabs.org/hewiki-tools/redirect.php?q=' + $( this ).attr( 'href' ) );
});
}
} );
} );