Comments (5)
This is a good idea.
There's nothing yet exposed by the vnu code that’d enable it but as far as I can see it’d be feasible to add it as a new input param https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters
If we add support in the code I think I'd still be reluctant myself to expose anything for it in the http://validator.w3.org/nu/ UI—just because it adds complexity to the UI for a feature that the vast majority of users don't need. Of course any user could still add it manually to the query part of the request URL, though they'd have to escape it correctly.
Still it'd be there regardless for any consumers of the checker’s HTTP/REST/Web-services API.
from validator.
Cool, I also think that it would be better to not clutter the UI with a new input as most users are not going to use it, but it would be great to be able to pass it as a query parameter.
from validator.
OK. BTW the docs at http://validator.w3.org/docs/users.html#option-user-agent imply there's an option fo this provided in the Web UI but I notice that http://validator.w3.org/ doesn't actually seem to expose such an option in its UI. Is that true? Or am I missing something? I realize it's supported in the backend—just wondering what mechanism if any there is for it, other than just adding it to the URL manually.
from validator.
I don't remember seeing an input for it on the UI. All that there is now is a hidden input used to remember its setting, for the Revalidate form.
from validator.
Thanks, I've added the option to specify a User-Agent string to nunchaku 0.2.0.
from validator.
Related Issues (20)
- Nu Html Checker - Warning: Possible misuse of aria-label HOT 1
- Ion icons
- Add shadowrootclonable attribute to template element
- mailchimp aria-label HOT 1
- Check for use of aria-hidden paired with hidden=until-found
- Why HTTP/1.0? HOT 1
- `<noscript>` invalid as direct descendant of `<body>`?
- CSS being identified as html thus giving error
- Add "onpageswap" attribute to "body" element
- WordPress Gutenberg Block Library CSS incorrect validation HOT 3
- No warning for validator HOT 2
- Icon for "verified html" HOT 2
- Add writingsuggestions attribute
- No error when using ASCII upper alphas in Attribute Name for Custom Data Attributes HOT 1
- Possible misuse of aria-label. (If you disagree with this warning
- Add shadowrootserializable attribute to template element
- the XML syntax is not recommended
- bad my compute
- CSS text-wrap and shape-margin throwing validator errors
- Button with type="button" doesn't support role="combobox"
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 validator.