Skip to content
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

feature_request(plugin): check mixed (unsecured) content #8

Open
Kristinita opened this issue Sep 24, 2019 · 1 comment
Open

feature_request(plugin): check mixed (unsecured) content #8

Kristinita opened this issue Sep 24, 2019 · 1 comment

Comments

@Kristinita
Copy link

Kristinita commented Sep 24, 2019

1. Summary

It would be nice, if would be possible check mixed (unsecured) content locally.

2. Argumentation

2.1. About

Read about mixed content. It not good for https sites.

2.2. How can an error occur

I've a https site. I add to it images, videos and so on, which are located on third-party sites. I can't see protocol of third-party site → I've unsecured content on my site.

3. Example of expected behavior

3.1. Checking process

The plugin simply should check that there is no http in src and some other attributes. Example:

  • ✔️ Good:
<img src="https://example.com/KiraGoddess.jpg" alt="Kira Goddess!">
  • ❌ Bad:
<img src="http://example.com/KiraGoddess.jpg" alt="Kira Goddess!">

Crawlers or localhost will not need.

3.2. Attributes list

Also, it would be nice to support data-src attribute for img, which is used on plugins for lazy loading.

4. Not helped

4.1. Web tools

I couldn't find, how I can use web-services like these programmatically, in development process:

4.2. CLI tools

I found these tools:

They're not doing what's described in my request. They crawl web-pages and links in them. Pages of my site may be not checked, unlike hundreds pages of third-party web-pages.

In addition, domain required for these packages. Files directly or localhost checking doesn't support; I can't use checking in development process; I need push files to hosting.

4.3. HTML linters

I check my site, use 4 HTML linters (The Nu Html Checker, HTML Tidy, htmllint, HTMLHint) → I couldn't find them the desirable feature.

Thanks.

@Scrum
Copy link
Member

Scrum commented Sep 25, 2019

@Kristinita Thanks for the offer, I will try to do it - if for you it is very critical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants