Reviewer, editor, pagecreator
50,485
edits
Flominator (talk | contribs) (a beginning, maybe it helps somebody) |
m (category) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 31: | Line 31: | ||
# A merge site for the two people will show up | # A merge site for the two people will show up | ||
Bonus: if you are on a merge page already, it will also submit the existing merge (you have to change the text after <code>button_text=</code> to your language version of the submit button with which you finally merge people in your language version | Bonus: if you are on a merge page already, it will also submit the existing merge (you have to change the text after <code>button_text=</code> to your language version of the submit button with which you finally merge people in your language version (for German it would be 'Verschmelzung abschlie%C3%9Fen') | ||
<code><nowiki>javascript:var kill = prompt('ID of person to be removed').trim(); var keep = window.getSelection().toString().trim(); var button_text = 'Finish Merge'; var merge_window = window.open( 'https://www.familysearch.org/tree/merge/'+keep+'/other-person/' +kill); if(window.location.toString().indexOf('merge')!=-1) { submitMergePage(); } function submitMergePage() { var inputs = document.getElementsByTagName('input'); for(var i=0;i<inputs.length;i++) { if (inputs[i].type=='submit' && inputs[i].value==button_text) { inputs[i].click(); } } }</nowiki></code> | |||
[[Category:Family Trees]] | |||
[[Category: |