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

function.mailto Warning script type="text/javascript" #815

Closed
Bozosoft opened this issue Sep 23, 2022 · 4 comments
Closed

function.mailto Warning script type="text/javascript" #815

Bozosoft opened this issue Sep 23, 2022 · 4 comments
Milestone

Comments

@Bozosoft
Copy link

in 3.1.x Warning: The type attribute is unnecessary for JavaScript resources. <script type="text/javascript">
test on validator.w3.org/nu

@Bozosoft
Copy link
Author

for information /plugins/function.mailto.php
line 117 and 122
return '<script type="text/javascript"> ...
is OK on HTML 4.01 ( )
So return '<script>... only is OK

wisskid added a commit that referenced this issue Jan 31, 2023
…cript"` or `language="Javascript"` attributes.

Fixes #815.
@wisskid wisskid added this to the 5.0 milestone Jan 31, 2023
@wisskid
Copy link
Contributor

wisskid commented Jan 31, 2023

I removed all type="text/javascript" and language="Javascript"

@Bozosoft
Copy link
Author

Sorry but on last [4.3.2] on /plugins/function.mailto.php
Line 112
return '<script type="text/javascript">document.write(unescape('' . $js_encode . ''))</script>';
Line 117
return '<script type="text/javascript">document.write(String.fromCharCode(' . implode(',', $ord) . '))</script>';
so
Warning: The type attribute is unnecessary for JavaScript resources. <script type="text/javascript">

@wisskid
Copy link
Contributor

wisskid commented Jul 29, 2023

This is planned for release in v5.0

@wisskid wisskid closed this as completed in 8fd949a Aug 7, 2023
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