28
edits
Flominator (talk | contribs) (→Firefox (and others?): making chrome work again) |
Flominator (talk | contribs) (→Source linker: also use current person's ID) |
||
Line 46: | Line 46: | ||
<code><nowiki> | <code><nowiki> | ||
javascript: | javascript: | ||
var linkPrefix = 'https://www.familysearch.org/search/linker?icid=fs-attach&ark='; | var urlParts = window.location.pathname.toString().split("/"); | ||
var personId = urlParts[urlParts.length-1]; | |||
var linkPrefix = 'https://www.familysearch.org/search/linker?icid=fs-attach&&id=' + personId + '&ark='; | |||
var new_window_text =""; | var new_window_text =""; | ||
var alert_text =""; | var alert_text =""; | ||
Line 58: | Line 60: | ||
} | } | ||
} | } | ||
void(0); | void(0); | ||
</nowiki></code> | </nowiki></code> | ||
=== Chrome === | === Chrome === | ||
Line 68: | Line 70: | ||
<code><nowiki> | <code><nowiki> | ||
javascript: | |||
var linkPrefix = 'https://www.familysearch.org/search/linker?icid=fs-attach&ark='; | var urlParts = window.location.pathname.toString().split("/"); | ||
var personId = urlParts[urlParts.length-1]; | |||
var linkPrefix = 'https://www.familysearch.org/search/linker?icid=fs-attach&&id=' + personId + '&ark='; | |||
var new_window_text =""; | var new_window_text =""; | ||
var alert_text =""; | var alert_text =""; |
edits