Arjlover transliterator

Make arjlover.net easier to browse for people that can't read Cyrillic

  1. // ==UserScript==
  2. // @name Arjlover transliterator
  3. // @namespace surrealmoviez.info
  4. // @description Make arjlover.net easier to browse for people that can't read Cyrillic
  5. // @require http://code.jquery.com/jquery-1.11.1.min.js
  6. // @include http://film.arjlover.net/film/
  7. // @include http://multiki.arjlover.net/multiki/
  8. // @include http://filmiki.arjlover.net/filmiki/
  9. // @include http://film.arjlover.net/film/indext.html
  10. // @grant none
  11. // @version 0.0.1
  12. // ==/UserScript==
  13.  
  14. $('.o, .e').each(function () {
  15. var fileName = $('td > a:contains(http)', $(this)).attr('href');
  16. fileName = fileName.substring(fileName.lastIndexOf('/') + 1, fileName.lastIndexOf('.')).split('.').join(' ');
  17. $('td:eq(1)', $(this)).append('<br><span style="color: grey; font-size: 11;">' + fileName + '</span>');
  18. });