Scripts:Animepage:Sourcecode1: Difference between revisions

Jump to navigation Jump to search
m
Futurpruf
No edit summary
m (Futurpruf)
Line 36: Line 36:
       // look up the grouplist table (using the bold "Group Info:" as an anchor, as it's fast to find)
       // look up the grouplist table (using the bold "Group Info:" as an anchor, as it's fast to find)
       var group_table = document.evaluate("//b/text()[starts-with(.,'Group') and contains(., 'Info:')]/../../../..", document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;
       var group_table = document.evaluate("//b/text()[starts-with(.,'Group') and contains(., 'Info:')]/../../../..", document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;
 
      // when css convert of page happens //
      var group_table = document.evaluate("//div[class="anime_group"]/table", document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;
      // will want checking though... //
       if (group_table == null){
       if (group_table == null){
         return;
         return;
476

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.