Comments (9)
@bhollis According to this link:
https://superuser.com/questions/677967/chrome-any-way-to-zoom-a-single-page-not-all-pages-in-domain
There is not "a way to convince the browser to apply font sizing only for a single page."
I was doing a lot of research before posting my request. I thought the request would be the easiest route to get my issue fixed at this point... I understand if you do not want to add the feature but if you don't ask you won't receive right??? LoL
from jsonview.
You can zoom in your browser using Cmd/Ctrl +
from jsonview.
I have tried that already, it was the first thing I did actually.
But then you have to unzoom when you move from the JSONized(if that's a word) page while troubleshooting the original webapp/webpage that is using the JSON code, and then zoom in again when going back to the JSON page. If a font size was able to be set in the plugin then, all the rest of my tabs/pages will not be affected since they are set at the appropriate zoom setting that I am used to and only the JSON viewed page will be affected.
I hope this makes sense.
Thank you,
from jsonview.
Here is another plugin that I have been using as you can see the font is larger than JSONview's by default:
Here is JSONview, it is a lot smaller:
But I like your plugin better because I can use control F very easily compared to the other plugin which defaults to its own search function instead of relying on the browser's "find on page" as yours does(which I prefer.)
from jsonview.
I don't think I want to add an option for this. Do you know if there's a way to convince the browser to apply font sizing only for a single page?
from jsonview.
JSONView already applies a bigger than the default font-size:
#json {
font-family: monospace;
font-size: 1.1em;
For that purpose, I have the opposite problem of this being too big for my preference so I adjust it via user styles.
Here is JSONview, it is a lot smaller:
The given screenshot doesn't appear from a genuine JSONView – there's a background color applied to the inner content and the collapsers are not arrows but look like -
(minus/hyphen). I can see there's same-named extension for Chrome:
@mlongoria1, have you installed that and not the following one?
The last one is linked from https://jsonview.com/
from jsonview.
Yep, understood. I don't want to add a bunch of options to the addon though, it's meant to be ultra simple. Also as @stanio mentioned it looks like you are using a different extension than the official JSONView.
from jsonview.
Yes @stanio was correct. I was using the "other guy's" extension. But now that I am using yours it seems to not work at all. Can you guys try to help me get it working? I used the link @stanio sent us up above...
Check it out, you can see the extension is installed but not working/enabled
:
Am I missing something, do I have to enable it on specific sites or should it just work?
from jsonview.
There is not "a way to convince the browser to apply font sizing only for a single page."
Using extensions like Stylus allows you to apply user styles to a single page (URL) or group of pages (URL-prefix, URLs on a domain, or URLs matching regexp). For my purpose of adjusting the JSONView font size, I apply the particular style to all content (URLs) but I make the style specific enough, so it applies only to JSONView rendering:
html:root > body > #json {
font-size: unset;
}
FWIW, I use Firefox, and not Chrome.
Check it out, you can see the extension is installed by not working/enabled
Dunno what's happening on your side. Try uninstalling all of the JSONView extensions you have, then reinstall just one of them.
from jsonview.
Related Issues (20)
- Addon should be active depending on content type of final request to page HOT 2
- Add toggle/option to have a dark background (dark theme) HOT 2
- not working for iframes HOT 1
- Firefox Save Page As... saves rendered HTML instead of original JSON HOT 2
- Add a configuration to avoid word-wrap
- Add support for Content-Type: application/vnd.spring-boot.actuator.v3+json HOT 1
- With kerberos auth json view doesn't render json HOT 1
- Copy json loses indention HOT 6
- The extension doesn't work HOT 2
- AWS Console usage triggers JsonView trying to parse an HTML page in error HOT 1
- Migrate to Manifest V3
- Wrong character instead of triangle pointing down HOT 20
- Error handling response: TypeError: Cannot read properties of undefined (reading 'textContent') HOT 4
- version 2.5.0 - jsonview not displaying HOT 6
- Extension causes JSON parse error when loading SharePoint page HOT 18
- AMO page's description outdated HOT 3
- Support .jsonc files? HOT 3
- Unexpected non-whitespace character after JSON at position 256 (line 1 column 257) HOT 4
- inserts double quotes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonview.