-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are you experiencing a change in font size when a link is clicked? #17
Comments
I've been playing around with it and for some reason it looks like it only scales when the <style type="text/css" media="all">
body {
font-size: 13px !important;
width: 500px;
}
</style>
<span style="">
<a href="https://www.reddit.com/comments/hxxcrs">
<span>123 comments</span>
</a>
<br>
<a href="https://www.reddit.com/u/kn0thing/overview">
<span>Author</span>
</a>
</span>
|
Wow, that does work. But it gets weirder ...
I also discovered that editing the href to an invalid URL causes the popup to immediately go to the DNS error page (without any clicking), which means Chrome is doing DNS pre-fetching even though I have pre-loading disabled in the settings. |
I tried this simple extension in Firefox and no link behaves like in Chrome: manifest.json: {
"manifest_version": 2,
"name": "Test Extension",
"description": "Tests popup link scaling bug",
"version": "0.1.0",
"browser_action": {
"default_title": "Scaling bug",
"default_icon": "icon.png",
"default_popup": "popup.html"
},
"icons": {
"16": "icon.png",
"48": "icon.png",
"128": "icon.png"
},
"manifest_version": 2,
"permissions": [
]
}
popup.html: <style type="text/css" media="all">
body {
font-size: 13px !important;
width: 300px;
}
</style>
<span style="">
<a href="https://youtube.reddit.com">
youtube.reddit.com
</a>
<br>
<a href="https://old.reddit.com">
old.reddit.com
</a>
<br>
<a href="https://np.reddit.com">
np.reddit.com
</a>
<br>
<a href="https://i.redd.it">
i.redd.it
</a>
<br>
<a href="https://api.reddit.com">
api.reddit.com
</a>
<br>
<a href="https://www.reddit.com">
www.reddit.com
</a>
<br>
<a href="https://reddit.com">
reddit.com
</a>
<br>
<a href="https://www.twitter.com">
www.twitter.com
</a>
<br>
<a href="https://www.google.com">
www.google.com
</a>
<br>
<a href="https://en.wikipedia.org">
en.wikipedia.org
</a>
<br>
<a href="https">
Invalid
</a>
<br>
<a href="#">
#####
</a>
</span> Where is this pre-loading setting you mention? |
It's in the 'cookies and other site data' section. Just search for "preload". |
Fixed in latest release. Will be updated on webstore after it has passed review. |
I'm not sure if it's a Chrome update that caused this because I can't recall it behaving like this earlier this year. I'm on
Version 83.0.4103.116 (Official Build) (64-bit)
https://imgur.com/a/3YQqlCH
The text was updated successfully, but these errors were encountered: