Comments (6)
Hi @quadronet,
could you please provide further details!?
Greetings
Daniel
from mindshape_cookie_consent.
Yes i can, in your RenderPreProcessHook.php you use the type attribute for javascript:
$pageRenderer->addHeaderData('<script type="text/javascript"
https://validator.w3.org/ show an error:
Warning: The type attribute is unnecessary for JavaScript resources.
s.de/"/><script type="text/javascript" data-ignore="1">
from mindshape_cookie_consent.
Thats strange as it is valid html and also the typo3 core sets the type attribute by default.
I'll do some research for that, in the meantime don't panic, its a lax warning browsers pagespeed etc. won't be angry about it.
from mindshape_cookie_consent.
@quadronet as of html 5.2 the type attribute should be omitted, so I will remove it in the next update.
See:
https://stackoverflow.com/questions/4195427/is-the-type-attribute-necessary-for-script-tags/4195504#4195504
https://www.w3.org/TR/html52/semantics-scripting.html#element-attrdef-script-type
from mindshape_cookie_consent.
solved in dec2479
from mindshape_cookie_consent.
Hy @featdd
just saw that when embedding the JS type="text/javascript" is still present. Unfortunately I didn't find out where this comes from (didn't find it anywhere in the extension, maybe it comes from TYPO3?).
Is it still possible to remove this, since W3C shows a warning.
from mindshape_cookie_consent.
Related Issues (20)
- Can't overwritte language labels with typoscript HOT 1
- How to disable the plugin for frontend_editing? HOT 1
- Add v11 compatibility HOT 4
- TYPO3 11 HOT 1
- Incompatibility problem with Typo3 10.4.2 since version 2.0.0 HOT 2
- Translations not working / not usefull for multilang sites HOT 16
- Installation breaks Typo3 Backend & Frontend HOT 3
- Different Cookies per Language HOT 3
- Preselection HOT 1
- denyLabel not available in Configuration HOT 1
- Trying to create translation of necessary_cookie_options entries throws SQL "incorrect integer value" error HOT 3
- Google Consent Mode [Feature Request] HOT 2
- PHP Warnings. HOT 2
- Add script bug HOT 2
- Path of javascript and stylesheets is incorrect when used with TYPO3 11 HOT 1
- TYPO3 12.4 Compatible Version HOT 1
- PHP 8.2 compatibility HOT 3
- Statistics - selected time period throws exeption HOT 4
- TYPO3 Exception: syntax error, unexpected ')' HOT 4
- Error: Return value of Mindshape\MindshapeCookieConsent\Utility\CookieUtility::getCookieValue() must be of the type array or null, bool returned HOT 6
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 mindshape_cookie_consent.