Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('a[href*="."]').not('a[href$=".pdf"]').not('a[href$=".html"]').filter(
- function() {
- stringi = $(this).attr("href").toString();
- return (
- !(stringi.split(".").slice().pop().indexOf('/') > -1)
- )
- }).addClass("download")
- $('a[href$=".pdf"]').addClass("pdf");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement