Hilfe für ein Greasemonkey Script für EndnoteWeb

cabotine

Grünschnabel
Hallo,
ich suche Hilfe für ein Greasemonkey Script für EndnoteWeb

Es geht um folgendes:
Endnoteweb ist eine Literaturverwaltung im Internet, die man unter bestimmten Vorausetzungen (Student/in, Käufer/in der Desktop-Version) kostenlos nutzen kann.

Nur leider hat es eine Funktion nicht, die das arbeiten sehr erleichtern würde.
Im <title>-tag steht immer nur EndNote Web 2.4
Wenn ich fünf Tabs offen habe steht da fünf mal EndNote Web und ich weiss nicht mehr welche Quelle in welchem Tab war.

Meine Idee war, man könnte ein Greasemonkey-Script nutzen um aus der Tabelle den Namen der Autorin und den Titel auszulesen und dann beides als title der Seite anzuzeigen. (Autorin: Titel)

Der HTML-Code der Quelle sieht so aus:

HTML:
<tr><td valign="top">Author:</td>
<td valign="top">
		
		<nobr><a href="./EndNoteWeb.html?selectedFolderId=0&amp;searchItem=Auernheimer,%20Georg&amp;searchField=all&amp;authorflag=1&amp;" title="Search for this author in all my references">Auernheimer, Georg</a></nobr>
</td>
</tr>

<tr><td valign="top">Title:</td>
<td valign="top">
          Einführung in die interkulturelle Pädagogik
</td>
</tr>

Kann mir bitte jemand helfen ein solches Scipt zu erstellen.
Vielen Dank und viele Grüße
C.
 
Moin C.

Das ist ansich nicht schwer, man müsste nur wissen, wo genau diese Informationen sich im Dokument befinden.
Dafür müsste man den Quelltext des Dokumentes vor der von dir geposteten Passage kennen.(alles von <body> an reicht dabei)
 
das wäre toll wenn Du mir da weiterhelfen kannst
vielen Dank und viele Grüße
C.

HTML:
<html><head>




<body onload="MM_preloadImages('/images/en_us/tab_myrefs_off_f2.gif','/images/en_us/tab_collect_off_f2.gif','/images/en_us/tab_organize_off_f2.gif','/images/en_us/tab_format_off_f2.gif','/images/en_us/tab_options_off_f2.gif');">





<!-- begin: MasterBegin -->
<a name="Top"> 
<!-- begin: LeftNav -->
</a><table id="summaryOuterTable" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr>
        <td>&nbsp;</td>
        <td colspan="2">
        <table id="bannerTable" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody>
                <tr>

                    <td valign="top" width="6"><img src="/images/en_us/topbanner_leftshadow.gif" alt="" height="32" width="9"></td>
                    <td class="bannerleft" width="368"><img src="/images/en_us/spacer.gif" alt=""></td>
                    <td valign="top" width="7"><img src="/images/en_us/navbg_left.gif" alt="" height="32" width="13"></td>
                    <td class="bannernav" align="right">
                        <table id="personalTable" class="globalnavpad" border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tbody>
                                <tr>
                                    <td nowrap="nowrap" width="90%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="./EndNoteWeb.html?func=chgprofile&amp;" class="topnav" title="Change Profile Information" alt="Change Profile Information">Welcome Frank</a>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>

                                    <td nowrap="nowrap"><a class="topnav" href="./EndNoteWeb.html?func=logout&amp;locale=en_us&amp;">Log Out </a></td>
                                    <td align="center" nowrap="nowrap" width="20"><img src="/images/en_us/pipe.gif"></td>
                                    <td nowrap="nowrap"><a class="topnav" href="http://www.myendnoteweb.com/help/en_us/ENW/help.htm" target="_blank" title="Help">Help</a>&nbsp;</td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                    <td width="14"><img src="/images/en_us/navbg_rt.gif"></td>

                </tr>
            </tbody>
        </table>
        <table id="bannerTable" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody>
                <tr>
                    <td valign="top">
                        <table id="logoTable" border="0" cellpadding="0" cellspacing="0" width="98%">
                            <tbody>

                                <tr>
                                    <td class="bannersub" nowrap="nowrap" valign="top" width="275">
                                        <a href="./EndNoteWeb.html?cat=myrefs&amp;"><img src="/images/en_us/ENWeb-standalone.gif" alt="EndNote Web logo" title="EndNote Web logo" vspace="4"></a>
                                    </td>
                                    <td align="right">
                                        <table id="instLogoTable" border="0" cellpadding="0" cellspacing="0" width="250">
                                            <tbody><tr>
<td align="right">
    <div class="notification"><a href="./EndNoteWeb.html?next=4&amp;curr=&amp;currentFolderName=All%20My%20References&amp;sortField=&amp;hl=&amp;ids=454&amp;quickList=&amp;sortOrder=&amp;folder_id=0&amp;cnts=4%2F102&amp;prev=2&amp;useSharedTable=0&amp;authorsearchflag=0&amp;func=view&amp;searchField=&amp;selectedFolderId=&amp;hideNotice=1&amp;">Hide message</a>&nbsp;&nbsp;<b>NOTICE:</b><br>

        Firefox 3 plug-in support is now available for download. <br><br>
Use the EndNote Web Internet Explorer and Firefox plug-ins' <a href="http://www.myendnoteweb.com/help/en_us/ENW/hsr_directexport.htm" title="direct export">direct export</a> feature to easily download references
from other data providers.

    </div>
</td>


<!--
                                                <td class="instName">
                                                    <p>University of Pennsylvania</p>
                                                </td>
                                                <td width="65">
                                                    <div class="instLogo">
                                                        <img src="http://www.upenn.edu/assets/images/en_us/logo.gif" alt="University of Pennsylvania" width="82" height="57" title="University of Pennsylvania" onClick="MM_openBrWindow('http://www.upenn.edu','','')" />
                                                    </div>
                                                </td>
-->
                                            </tr>
                                        </tbody></table>
                                    </td>

                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </td>
</tr>

<!-- end: MasterBegin -->

<!-- begin: Tab -->
<tr>
    <td width="19">&nbsp;</td>
    <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody><tr>
            <td>
                <!-- begin: categories -->
                <table id="tabsTable" border="0" cellpadding="0" cellspacing="0">


                    <tbody><tr>
                        <td><img src="/images/en_us/tab_myrefs_on.gif" alt="View your references" name="tab1" id="tab1" title="View your references" border="0"></td>
                        <td><img src="/images/en_us/tab_on_off.gif" alt=""></td>
                        <td><a href="EndNoteWeb.html?func=remoteSearchConnections&amp;cat=collect&amp;"><img src="/images/en_us/tab_collect_off.gif" alt="Collect References" name="tab2" id="tab2" title="Collect References" onmouseover="MM_swapImage('tab2','','/images/en_us/tab_collect_off_f2.gif',1)" onmouseout="MM_swapImgRestore()" border="0"></a></td>
                        <td><img src="/images/en_us/tab_off_off.gif" alt=""></td>
                        <td><a href="./EndNoteWeb.html?func=folderOptions&amp;cat=organize&amp;"><img src="/images/en_us/tab_organize_off.gif" alt="Organize references" title="Organize references" name="tab3" id="tab3" onmouseover="MM_swapImage('tab3','','/images/en_us/tab_organize_off_f2.gif',1)" onmouseout="MM_swapImgRestore()" border="0"></a><a></a></td>
                        <td><img src="/images/en_us/tab_off_off.gif" alt=""></td>
                        <td><a href="./EndNoteWeb.html?func=bibliography&amp;cat=format&amp;"><img src="/images/en_us/tab_format_off.gif" alt="Format references" title="Format references" name="tab4" id="tab4" onmouseover="MM_swapImage('tab4','','/images/en_us/tab_format_off_f2.gif',1)" onmouseout="MM_swapImgRestore()" border="0"></a></td>

                        <td width="40"><img src="/images/en_us/tab_between.gif"></td>
                        <td><a href="./EndNoteWeb.html?func=chgpasswd&amp;cat=options&amp;"><img src="/images/en_us/tab_options_off.gif" alt="Options" title="Options" name="tab5" id="tab5" onmouseover="MM_swapImage('tab5','','/images/en_us/tab_options_off_f2.gif',1)" onmouseout="MM_swapImgRestore()" border="0"></a></td>
                    </tr>
                </tbody></table>
                <!-- end: categories -->
            </td>
            </tr>
<!-- begin: SubMenu -->
<tr>
    <td class="contnav" valign="top">

        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody><tr>
              <td>
                  <table id="searchTabsTable" border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tbody><tr><td>
                      <div class="guideLink"><a href="./EndNoteWeb.html?setGuideState=show" title="Show Getting Started Guide" alt="Show Getting Started Guide">Show Getting Started Guide</a></div></td></tr>
                  </tbody></table>
              </td>

            </tr>
            <tr>
                <td valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tbody><tr>
                            <td colspan="3"><img src="/images/en_us/spacer.gif" alt="" height="3"></td>
                        </tr>
                        <tr>
                            <td colspan="3" class="dothorz"></td>

                        </tr>
                        <tr>
                            <td class="dotvert" width="1"><img src="/images/en_us/spacer.gif" alt=""></td>
                            <td class="summary_TopBox"></td>
                            <td class="dotvert" width="1"><img src="/images/en_us/spacer.gif" alt=""></td>
                        </tr>
                    </tbody></table>
                </td>
            </tr>

        </tbody></table></td>
    </tr>
</tbody></table>
</td>
<td>&nbsp;&nbsp;</td>
</tr>
<tr>
<!-- end: SubMenu -->


<!-- end: Tab -->


    <td rowspan="2" valign="top" width="19">
        <div class="refinePadTop"></div>
        <form name="hideshowpanel">
        <input name="hideorshow" value="hide" type="hidden">

        <div id="hidepanel_img"><a href="javascript:void(0);" target="_top"><img src="/images/en_us/hidep.gif" alt="Hide panel" title="Hide panel" border="0"></a></div>
        <div id="showpanel_img" style="display: none;"><a href="javascript:void(0);" target="_top"><img src="/images/en_us/showp.gif" alt="Show panel" title="Show panel" border="0"></a></div>
        </form>
    </td>
    <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody><tr>
                <td valign="top"><table class="contnav_lower" border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tbody><tr>

                        <td valign="top">
                            <table id="summaryDisplayTable" border="0" cellpadding="0" cellspacing="0" height="350" width="100%">
                                <tbody><tr>
                                    <td id="sidepanel_hidden" style="display: none;" class="sideBarCol" valign="top">
<table id="SubjectAreas" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"><tbody><tr><td valign="top" width="17">&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></tbody></table>
                                    </td>
                                    <td id="sidepanel" class="sideBarCol" style="display: table-cell;" valign="top">
                                    <div class="refinePadTop"></div>
                                    <script language="JavaScript">
function NoEmptySearchTerm(searchItem){
    if (searchItem.value.length == 0){
        alert('The search term you entered was empty. Please try again.');
       return false;
    }
    return true;
}



</script>

<form action="./EndNoteWeb.html" method="get" onsubmit="return NoEmptySearchTerm(searchItem)">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="rightbgred"><div class="sideHead">Quick Search</div></td>
<td class="whiteshadow" valign="top" width="17"><img src="/images/en_us/shadow_white_corner.gif"></td>
</tr>
</tbody></table>
<table id="searchWithinTable" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="rightbgred">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>&nbsp;</td>
<td align="left">

<input value="Search for" onfocus="if(this.value=='Search for')this.value='';" name="searchItem" size="21" maxlength="120" class="formBoxesSidePanel" type="text">
</td>
</tr>
<tr>
<td><div class="quickSearchText" align="right">in</div></td>
<td>
<select name="selectedFolderId" class="formBoxesSave" onchange="if(options[selectedIndex].disabled)
	    {
		options[0].selected=true;
	    }">
<option value="0">All My References</option>
      <option value="1">[Unfiled]</option>     
     <option value="-1">Trash</option>


			
 
 


</select>
</td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap">
<input src="/images/en_us/search_sm.gif" value="Go" name="search" alt="Search" title="Search" hspace="2" type="image" vspace="4">
<input name="searchField" value="all" type="hidden">
</td>
</tr>
</tbody></table>


 


                                    </td>

                          <td class="whiteshadow" valign="top" width="17"><img src="/images/en_us/shadow_white.gif" height="1" width="17"></td>
                        </tr>
                      </tbody></table>
                      <table id="SubjectAreas" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tbody><tr>
                          <td class="rightbgred">                 
                          <div class="dothorz"></div>
            <form name="leftnavform" action="./EndNoteWeb.html" method="get">
            <input name="currentFolderName" value="" type="hidden">

<div class="sideHead">My References</div>
<div class="sideL1Active"><a href="EndNoteWeb.html?func=changeFoldersNav&amp;currentFolderId=0&amp;" title="View all my references">All My References (102)</a></div>
	        <div class="sideL1Last"><a href="EndNoteWeb.html?func=changeFoldersNav&amp;currentFolderId=1&amp;currentFolderName=Unfiled&amp;" title="View references not in a group">[Unfiled] (102)</a></div>
<input name="folderList" value="Unfiled" type="hidden">
<input name="group_time_ms" value="104" type="hidden">






<div class="sideL1Last"><a href="./EndNoteWeb.html?func=changeFoldersNav&amp;currentFolderId=EL&amp;quickList=1" title="View references in Quick List">Quick List (0)</a></div>

<div class="sideL1Last"><a href="./EndNoteWeb.html?func=changeFoldersNav&amp;currentFolderId=-1" alt="View references in the Trash" title="View references in the Trash">Trash (101)</a> 
		<a href="" onclick="javascript:if(confirm('Are you sure you want to permanently delete the reference(s) in Trash?\nThis action can not be undone.')){this.href = './EndNoteWeb.html?func=emptyTrash&amp;currentFolderId=0';}else{return false};"><img src="/images/en_us/empty.gif" alt="Empty the Trash" title="Empty the Trash" align="absbottom"></a>
</div>

			 
 


</form></td>
<td class="whiteshadow" valign="top" width="17"><img src="/images/en_us/shadow_white.gif" height="1" width="17"></td>
                        </tr>
                      </tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody><tr>
    <td class="rightbgred"><table class="refine_rule" border="0" cellpadding="0" cellspacing="0" width="100%">

      <tbody><tr>
        <td class="dothorz"><img src="/images/en_us/spacer.gif" alt=""></td>
      </tr>
    </tbody></table>

</td>
    <td class="whiteshadow" valign="top" width="17"><img src="/images/en_us/shadow_white.gif" height="1" width="17"></td>
  </tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>

<td background="/images/en_us/j_refine_back.gif" width="50%"><img src="/images/en_us/j_refine_left.gif"></td>
<td align="right" background="/images/en_us/j_refine_back.gif" width="50%"><img src="/images/en_us/j_refine_right.gif"></td>
<td align="right"><img src="/images/en_us/spacer.gif" height="1" width="11"></td>
</tr>
</tbody></table>
</form></td>
<!-- end: LeftNav -->
 




<form action="./EndNoteWeb.html?ids=454&amp;hl=&amp;curr=0&amp;folder_id=&amp;selectedFolderId=&amp;currentFolderName=All My References&amp;authorflag=0" method="post"></form>
<td class="summary_pagecntnav" valign="top">
<table id="contentTable" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="contnav" align="top">
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr>
<td align="left">
	<div class="heading">View Reference in 'All My References'</div>

</td>
</tr>
<tr>
<td valign="top" width="100%">
<table class="regularText" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td align="left" nowrap="nowrap" valign="top">
<div class="viewref_nav">
<nobr>
<!--<INPUT TYPE="hidden" name="folder_id" value="0">-->
<input name="cnts" value="4/102" type="hidden">
<input name="prev" value="2" type="hidden">
<input name="next" value="4" type="hidden">
<input name="sortField" value="" type="hidden">
<input name="sortOrder" value="" type="hidden">
<input name="duplicate" value="" type="hidden">
<input name="quickList" value="" type="hidden">

<a href="./EndNoteWeb.html?func=view&amp;ids=26&amp;folder_id=0&amp;hl=&amp;curr=0&amp;cnts=3/102&amp;prev=2&amp;next=4&amp;sortField=&amp;sortOrder=&amp;searchField=&amp;selectedFolderId=&amp;useSharedTable=0&amp;currentFolderName=All%20My%20References&amp;authorsearchflag=0&amp;duplicate=&amp;quickList=&amp;currentFolderId="><img src="/images/en_us/arrow_left.gif" alt="Previous Record" title="Previous Record" align="absmiddle" hspace="3"></a>
<span>Record 4 of 102</span>
<a href="./EndNoteWeb.html?func=view&amp;ids=582&amp;folder_id=0&amp;hl=&amp;curr=0&amp;cnts=5/102&amp;prev=2&amp;next=4&amp;sortField=&amp;sortOrder=&amp;searchField=&amp;selectedFolderId=&amp;useSharedTable=0&amp;currentFolderName=All%20My%20References&amp;authorsearchflag=0&amp;duplicate=&amp;quickList=&amp;currentFolderId="><img src="/images/en_us/arrow_rgt.gif" alt="Next Record" title="Next Record" align="absmiddle" border="0" hspace="3"></a>
</nobr>&nbsp;
	<input value="Return to List" src="/images/en_us/return2list.gif" alt="Return to list" title="Return to list" align="asmiddle" type="image">

</div>

<div class="viewref_nav">
<input src="/images/en_us/edit.gif" alt="Edit Reference" title="Edit Reference" name="edit" value="Edit" align="absmiddle" type="image">

	<input src="/images/en_us/quick_list.gif" alt="Copy reference to Quick List" title="Copy reference to Quick List" name="Copy To Quick List" value="Copy To Quick List" onclick="passFolderId(this.form,'');copyToExportList(this.form);" align="absbottom" type="image">

	<input src="/images/en_us/delete.gif" alt="Delete this reference from All My References" title="Delete this reference from All My References" name="MoveToTrash" value="MoveToTrash" align="absmiddle" type="image">


<select name="folderId" onchange=" 
if(folderId.value != 'Save or Copy') {
    currFolder = '';
	if(folderId.value == 'Create New Group') {
		createNewFolder(this.form,currFolder);
	}else {
		changeFolder(this.form,currFolder);
	} 
} ">
<option value="Save or Copy">Add to group...</option>


 


<option value="Create New Group">New group</option>
			
 
 


</select>


</div>
</td>

</tr>
</tbody></table>
<!-- Ref Id: 454 -->
<!-- ref type : 1 -->
<table class="regularText" border="0" cellpadding="5" cellspacing="0" width="100%">
<tbody><tr>
<td valign="top">
<span class="viewReferenceSectionLabel">Groups:</span>
</td>
<td valign="top">
<nobr></nobr>
</td>
</tr>
<tr>
<td colspan="2" valign="bottom">
<div class="openURLbutton">

</div>
<span class="viewReferenceSectionLabel">Bibliographic Fields:</span></td>
</tr>
<tr>
<td valign="top">Reference Type:</td>
<td valign="top">Book</td>
</tr>


<tr><td valign="top">Author:</td>
<td valign="top">
		
		<nobr><a href="./EndNoteWeb.html?selectedFolderId=0&amp;searchItem=Auernheimer,%20Georg&amp;searchField=all&amp;authorflag=1&amp;" title="Search for this author in all my references">Auernheimer, Georg</a></nobr>

</td>
</tr>


<tr><td valign="top">Title:</td>
<td valign="top">
          Einführung in die interkulturelle Erziehung
</td>
</tr>


<tr><td valign="top">Year:</td>
<td valign="top">
          1995

</td>
</tr>


<tr><td valign="top">Series Title:</td>
<td valign="top">
          &lt;&lt;Die&gt;&gt; Erziehungswissenschaft : Einführungen in Gegenstand, Methoden und Ergebnisse ihrer Teildisziplinen und Hilfswissenschaften
</td>
</tr>


<tr><td valign="top">City:</td>

<td valign="top">
          Darmstadt
</td>
</tr>


<tr><td valign="top">Publisher:</td>
<td valign="top">
          Wiss. Buchges.
</td>
</tr>


<tr><td valign="top">Number of Pages:</td>

<td valign="top">
          268 S.
</td>
</tr>

<tr>
<td colspan="2" valign="top"><span class="viewReferenceSectionLabel">Optional Fields:</span></td>
</tr>

<tr><td valign="top">ISBN:</td>
<td valign="top">
          3-534-10358-0
</td>

</tr>


<tr><td valign="top">Accession Number:</td>
<td valign="top">
          HI0022808
</td>
</tr>


<tr><td valign="top">Keywords:</td>
<td valign="top">
          Interkulturelle Erziehung; Aufsatzsammlung

</td>
</tr>


<tr><td valign="top">Notes:</td>
<td valign="top">
          000 HI094 ZwB Europäische Ethnologie 200 200 Bi 113 HI096/1995.5098 13 13 20000914
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>

</tbody></table>
</td>

 

<!-- begin: MasterEnd -->
<td class="dotvert" width="1"><img src="/images/en_us/spacer.gif"></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td>&nbsp;</td>
</tr>

<tr>
    <td class="pagecntnav1" bgcolor="#ffffff">
        <div class="dothorz"></div>
        &nbsp;
    </td>
    <td>&nbsp;</td>
</tr>
<tr>
    <td width="19">&nbsp;</td>
    <td>

        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody><tr>
                <td class="tdbgwhite" valign="top">
	<!-- begin: language toggle -->
	<!-- begin: language selection --> 
   <div class="languages1">
   <div class="languages2">
   <div class="languages3">
   <div class="languages4">

   <span class="languageHdr">View in</span>
				<span class="languageText"><a href="./EndNoteWeb.html?next=4&amp;curr=&amp;currentFolderName=All%20My%20References&amp;sortField=&amp;hl=&amp;ids=454&amp;quickList=&amp;sortOrder=&amp;folder_id=0&amp;cnts=4%2F102&amp;prev=2&amp;useSharedTable=0&amp;authorsearchflag=0&amp;func=view&amp;searchField=&amp;selectedFolderId=&amp;locale=zh_cn&amp;">????</a></span>
			   <span class="languageText">English</span>
</div></div></div></div><!--  end: language selection -->
   

	<!-- end: language toggle -->
<!-- begin: BottomLinks -->
<!-- begin: copyright -->

    <div class="footer">

        &nbsp;<a href="http://scientific.thomson.com/privacy" target="_blank">Privacy</a>&nbsp;|&nbsp;<a href="http://www.myendnoteweb.com/help/en_us/acceptableuse.htm" target="_blank">Acceptable Use</a>
		|&nbsp;<a href="./EndNoteWeb.html?func=downloadInstallers&amp;" title="Download Installers">Download Installers</a>
		|&nbsp;<a href="javascript:void(window.open('EndNoteWeb.html?func=feedBack&amp;','','status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600'))">Feedback</a>
        <br>
        &nbsp;&nbsp;©&nbsp;2008&nbsp;THOMSON REUTERS


<!-- end: copyright -->
<!-- end: BottomLinks -->


<!-- end: MasterEnd -->

<!-- begin: Footer -->
    <table id="footerTable" border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody><tr>
	            <td width="306"><img src="/images/en_us/thomson_logo.gif" alt="Thomson Reuters logo" title="Thomson Reuters logo"></td>
            <td class="bottomlogobg"><img src="/images/en_us/spacer.gif" alt=""></td>
        </tr>

    </tbody></table>
</div></td>
</tr>
</tbody></table></td>
<td>&nbsp;</td>
</tr>
<tr id="multilogos">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody></table>
<!-- end: Footer -->
</body></html>
 
Ok, so sollte es klappen(tuts zumindest bei mir :-))

Code:
if(String(document.body.innerHTML).match(/<td valign="top">Author:<\/td>\s*<td valign="top">\s*<nobr><a href=[^>]*>([^>]+)<\/a><\/nobr>\s*<\/td>\s*<\/tr>\s*<tr><td valign="top">Title:<\/td>\s+<td valign="top">\s*([^>]*)\s*<\/td>\s*<\/tr>/))
  {
      document.title=RegExp.$1+':'+RegExp.$2;
  }
 
Hi,
ich habe jetzt folgendes Greasemonkey-Script daraus gemacht und leider zeigt es nur : im titel an
HTML:
// ==UserScript==
// @name           EndnoteWeb
// @namespace      https://www.myendnoteweb.com/
// @description    Titel im Title
// @include        https://www.myendnoteweb.com/
// ==/UserScript== if(String(document.body.innerHTML).match(/<td valign="top">Author:<\/td>\s*<td valign="top">\s*<nobr><a href=[^>]*>([^>]+)<\/a><\/nobr>\s*<\/td>\s*<\/tr>\s*<tr><td valign="top">Title:<\/td>\s+<td valign="top">\s*([^>]*)\s*<\/td>\s*<\/tr>/))
  {
      document.title=RegExp.$1+':'+RegExp.$2;
  }

Hast Du eine Idee woran es liegen kann?
Vielen Dank und viele Grüße
C.

Ich musste bei meinem ersten Beitrag Sachen entfernen, da er sonst zu lang gewesen wäre. Ich habe daher die ganze HTML-Datei hier nochmal hochgeladen: http://www.definitiv-inklusiv.org/EndNoteWeb.html
 
Zuletzt bearbeitet:
rutsche mal mit der 1. Zeile aus meinem Codeschnipsel eine Zeile tiefer:
Javascript:
// ==UserScript==
// @name           EndnoteWeb
// @namespace      https://www.myendnoteweb.com/
// @description    Titel im Title
// @include        https://www.myendnoteweb.com/
// ==/UserScript==
if(String(document.body.innerHTML).match(/<td valign="top">Author:<\/td>\s*<td valign="top">\s*<nobr><a href=[^>]*>([^>]+)<\/a><\/nobr>\s*<\/td>\s*<\/tr>\s*<tr><td valign="top">Title:<\/td>\s+<td valign="top">\s*([^>]*)\s*<\/td>\s*<\/tr>/))
  {
      document.title=RegExp.$1+':'+RegExp.$2;
  }
 
toll vielen Dank.
Es geht und macht EndnoteWeb viel benutzbarer.
Noch eine kurze Frage. Kann man aus Zeilenumbrüchen im Text noch Leerzeichen machen:
Denn hier zum Beispiel macht schreibt er dann KraftakteLebensalltag hintereinander
HTML:
Title: 	 Kraftakte
Lebensalltag und Identitätsarbeit körperbehinderter Mädchen und junger Frauen
Year: 	2007

Vielen vielen Dank und viele Grüße
C.
 
Noch eine letzte Frage: ist es möglich Strings zu ersetzen und so die Seite zu übersetzen? Dann wäre sie auch für Leute wie meine Doktormutter attraktiver:

Also einfach eine Liste mit den Begriffen und den Übersetzungen so dass dann alle Vorkommen der Strings ersetzt werden.
Z.B.
Title --> Titel
All My References --> Alle Quellen
usw.

Vielen Dank
C.
 
Was die Leerzeichen betrifft, das ginge so:
Code:
document.title=String(RegExp.$1+':'+RegExp.$2).replace(/\s+/g,' ');

Das andere ginge auch über die replace-Methode, Beispiel für Title:

Code:
document.body.innerHTML=String(document.body.innerHTML).replace(/Title/gi,'Titel');
 
Toll.
Vielen Dank.
Ist es okay, wenn ich es mit Credit für Dich und tutorials.de auf userscripts.org veröffentliche?
Danke nochmals
 

Neue Beiträge

Zurück