Click here to Skip to main content
15,918,808 members
Home / Discussions / Web Development
   

Web Development

 
AnswerCleaned up my dart board, and got the modules error cleared at least, this will take time, not easy Pin
jkirkerx24-Jan-24 11:26
professionaljkirkerx24-Jan-24 11:26 
I replaced the script tags on the web pages to this ...
<?php $nonce = base64_encode(random_bytes(16)); ?>
<script type="module" src="/pcad/assets/scripts/core/core.module.js" nonce="<?php echo $nonce; ?>"></script>

So I don't have COR errors, I have Content-Security-Policy errors.

This error is from the input element onchange event, where I wasn't able to add an event listener, because of the data I needed to popular the function call. I'll have to rethink this.

Content-Security-Policy: The page’s settings observed the loading of a resource at inline (“script-src”). A CSP report is being sent.
Source: coreExternal.setCommissionFinishedDate(t… 72 assignCommission.phtml


OK, so this is not easy, and will require me to do way more research on the subject, and rethink some of the code in this project.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: The problem is somewhere else Pin
jkirkerx24-Jan-24 13:06
professionaljkirkerx24-Jan-24 13:06 
AnswerRe: Solved, that was a can of worms to sort out Pin
jkirkerx25-Jan-24 12:13
professionaljkirkerx25-Jan-24 12:13 
QuestionJS Arrow functions this & setTimeout scope Pin
Member 1618344416-Jan-24 1:46
Member 1618344416-Jan-24 1:46 
AnswerRe: JS Arrow functions this & setTimeout scope Pin
Jeremy Falcon25-Jan-24 4:31
professionalJeremy Falcon25-Jan-24 4:31 
QuestionWordPress for Windows Pin
Richard Andrew x647-Jan-24 4:24
professionalRichard Andrew x647-Jan-24 4:24 
AnswerRe: WordPress for Windows Pin
jschell8-Jan-24 5:52
jschell8-Jan-24 5:52 
GeneralRe: WordPress for Windows Pin
Richard Andrew x648-Jan-24 13:49
professionalRichard Andrew x648-Jan-24 13:49 
Questionhow PHP works Pin
mike741126-Dec-23 10:24
mike741126-Dec-23 10:24 
AnswerRe: how PHP works Pin
Richard MacCutchan26-Dec-23 21:47
mveRichard MacCutchan26-Dec-23 21:47 
GeneralRe: how PHP works Pin
trønderen27-Dec-23 8:09
trønderen27-Dec-23 8:09 
GeneralRe: how PHP works Pin
Richard MacCutchan27-Dec-23 21:19
mveRichard MacCutchan27-Dec-23 21:19 
GeneralRe: how PHP works Pin
trønderen28-Dec-23 7:08
trønderen28-Dec-23 7:08 
GeneralRe: how PHP works Pin
Richard MacCutchan28-Dec-23 21:46
mveRichard MacCutchan28-Dec-23 21:46 
AnswerRe: how PHP works Pin
Member 102471327-Mar-24 23:56
Member 102471327-Mar-24 23:56 
Questionweb development project Pin
Kateyi19-Dec-23 21:01
Kateyi19-Dec-23 21:01 
AnswerRe: web development project Pin
Richard Deeming19-Dec-23 21:21
mveRichard Deeming19-Dec-23 21:21 
AnswerRe: web development project Pin
Bohdan Stupak4-Mar-24 23:22
professionalBohdan Stupak4-Mar-24 23:22 
AnswerRe: web development project Pin
Member 102471328-Mar-24 0:01
Member 102471328-Mar-24 0:01 
QuestionWeb Development Pin
Mohd Faiez16-Dec-23 3:22
Mohd Faiez16-Dec-23 3:22 
QuestionBreakpoint issue with Visual Studio Pin
Lloyd Dupont3-Dec-23 14:36
Lloyd Dupont3-Dec-23 14:36 
AnswerRe: Breakpoint issue with Visual Studio Pin
Lloyd Dupont3-Dec-23 20:37
Lloyd Dupont3-Dec-23 20:37 
GeneralRe: Breakpoint issue with Visual Studio Pin
jschell4-Dec-23 3:41
jschell4-Dec-23 3:41 
GeneralRe: Breakpoint issue with Visual Studio Pin
Lloyd Dupont6-Dec-23 12:42
Lloyd Dupont6-Dec-23 12:42 
GeneralWant to Build a Web-based Video Platform Pin
Trevor Judd3-Nov-23 5:13
Trevor Judd3-Nov-23 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.