A way to determine whether or not a website validates [closed] - javascript

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am developing a service, and it needs to be able to determine whether or not a specific website on the internet validates (with 0 errors).
Does the W3C have an API?
Also, I would like to be able to do a browser-by-browser test. I mean, I would also like to be able to tell if [the first criteria cannot be met] any 1 (or more) particular website(s) fail(s) to validate (with 0 errors). Is this currently possible?
I am still searching, but have yet to find this out.

The W3C has APIs for both their HTML and CSS validators.
The HTML validator docs are found at: http://validator.w3.org/docs/api.html
The CSS validator docs are found at: http://jigsaw.w3.org/css-validator/api.html

Related

How can we mitigate shopping-cart checkout spamming? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 days ago.
Improve this question
We have an e-commerce site that allows you to check out as a guest.
An individual has been using it to check if stolen credit card numbers function.
We plan to add invisible captcha, which helps for people using scripts/headless browsing/automation, but it doesn't stop someone from manually using it this way.
We could track a cookie that starts to prevent/timeout the user from checking out if there are enough recent requests, but that's easily workaround-able.
It seems like a situation where it can't be limited too much further because normal users need to be able to check out, but are there any other specific methods that would help?

How do ads blocker extensions work? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was wondering what is the idea behind ads blockers browser extensions?
I want to develop such an extension but first i want to understand how do they do their magic. So, how do they work?
These extensions use filter lists, filter lists are essentially an extensive set of rules that tell Adblockers which elements of a website to block. You can add any filter list you want. For example, block tracking or malware.
All filters are translated into regular expressions internally, even the ones that haven't been specified as such. For example, the filter ad*banner.gif| will be translated into the regular expression /ad.*banner.gif$/.
Follow the link given below to get a good idea of internal working of those extensions:
https://adblockplus.org/faq_internal

Can I use click through for file uploads? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
In this some what outdated article by quirksmode it does not use the click through method because it was not supported by FireFox.
http://www.quirksmode.org/dom/inputfile.html
However, I tested it and it works fine. I can produce a click event on a file input.
Are there any other limitations I might not be aware of. I basically want to use the method in the article, but use the more simple method of passing the click event from the fake input directly to the real input.
I've emailed the author and asked if he has any additional thoughts since Firefox now supports it.
I plan to implement it and will provide and info I find out.

Buttons with a textarea on web page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Could someone please point me at a resource that shows how to add buttons to a textarea on a web page? Similar to Yahoo mail where an email address is turned into a button with a cross for removal.
In fact exactly how tags are added to the Tags textarea on this site.
There are very good jQuery plugins that accomplish this. One of them is tag-it library. You can find examples on this page, as well as source code and documentation on how to use it. You can always style it according to your needs through css.

Is there a way to control an email service like yahoo using javascript? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am making an open-source addon for firefox and chrome called and I am wondering if there is a way to control an email service like yahoo using javascript?
You can control the look of the page and probably (although I cannot be sure) send and edit messages without having to use the on-page buttons, but you cannot do server-side stuff such as logging into an account from a page without a log-in on it or sending a message from a page other than the email sending page. If you have any specific questions about controlling one specific thing, please add them in the comments, and I may answer them.

Categories