Tab ReTitle 的评价
Tab ReTitle 作者: Lazyuki
Mark 的评价
评分 5 / 5
来自 Mark,4 年前This works well once I figured out how to do a Regex to remove a specific annoying phrase that Amazon inserts at the beginning of every page Title. I don't like that because it messes up the default name of my bookmarks.
Here's the regex I used: /AmazonSmile: (.{1,45}).*/$1/
This removes the literal phrase "AmazonSmile: " from the beginning of any page title on smile.amazon.com. It removes the first phrase and then inserts the rest of the title but only up to 45 characters in length. If the original title is longer, it truncates the rest. I found a Regex testing site that helped me figure this out. https://regex101.com/r/vMzP9d/6
Here's the regex I used: /AmazonSmile: (.{1,45}).*/$1/
This removes the literal phrase "AmazonSmile: " from the beginning of any page title on smile.amazon.com. It removes the first phrase and then inserts the rest of the title but only up to 45 characters in length. If the original title is longer, it truncates the rest. I found a Regex testing site that helped me figure this out. https://regex101.com/r/vMzP9d/6