This is an excellent project! Thanks for this.
But in page.js your script does not change all URLs because it changes only in span.notranslate. I suppose that in all tags a you need to change the URL.
Your code:
$notranslate.children('a').each(function (index, item) {
let $item = $(item)
let href = $item.attr("href")
href = href && queryString.parse(url.parse(href).query).u
$item.attr("href", href)
})
My solution:
$('a').each(function (index, item) {
let $item = $(item)
let href = $item.attr("href")
href = href && queryString.parse(url.parse(href).query).u
$item.attr("href", href)
})

This is an excellent project! Thanks for this.
But in page.js your script does not change all URLs because it changes only in span.notranslate. I suppose that in all tags a you need to change the URL.
Your code:
$notranslate.children('a').each(function (index, item) {let $item = $(item)let href = $item.attr("href")href = href && queryString.parse(url.parse(href).query).u$item.attr("href", href)})My solution:
$('a').each(function (index, item) {let $item = $(item)let href = $item.attr("href")href = href && queryString.parse(url.parse(href).query).u$item.attr("href", href)})