3 ms·
Shorter link that still works with your addon: https://en.wikipedia.org/wiki/Nelson_Mandela#cDpudGgtb2YtdHlwZSgzKQ== https://en.wikipedia.org/wiki/Nelson_Mandel
by yorwba 8y ago
Shorter link that still works with your addon: https://en.wikipedia.org/wiki/Nelson_Mandela#cDpudGgtb2YtdHlwZSgzKQ== https://en.wikipedia.org/wiki/Nelson_Mandela#cDpudGgtb2YtdHl...
I simply tried to find a suffix of the path that still identifies the element uniquely. Turns out that p:nth-of-type(3) is good enough already. If you want to be a bit more robust to changes on the page, you could also search for the last element with an ID in the path, i.e. #mw-content-text > div.mw-parser-output > p:nth-of-type(3).