Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(maxLength=="www"||maxLength===undefined){
- if(host.indexOf('.com.br')>-1){
- maxLength = location.hostname.split('.').reverse()[2];
- }else{
- maxLength = location.hostname.split('.').reverse()[1];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement