Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
117 views

I’m running an inline C# script in an Azure Logic Apps workflows to get the blob details using DefaultAzureCredential(). I have given 'Storage Blob Data Contributor' to Azure Logic App in Storage ...
Bharti Tijare's user avatar
1 vote
1 answer
396 views

Preface: Hashes belonging to all known or identifiable Javascripts have been included in the CSP Header. When I click on the custom Facebook share button, I get the following error: Refused to ...
Goemon Code's user avatar
5 votes
0 answers
3k views

jQuery 3.7.0. has a line of code that violates CSP policies for inline scripting that has been persisting since version 3.1.1, seeing as it is clearly not getting fixed anytime soon I was wondering if ...
JSG's user avatar
  • 51
1 vote
2 answers
3k views

Hello I think the problem I am facing might be a beginner doubt, but here it is: I have a stage yaml which is called by my main yaml. Stage yaml has a parameter which I want to use in inline script. ...
Lucky's user avatar
  • 303
0 votes
1 answer
942 views

I'm working on getting a bunch of legacy inline scripts cleaned up. My question is: How do I call a function from an inline script that is compiled in WebPack. After trying a bunch of different ...
Ryan Dorn's user avatar
  • 837
0 votes
2 answers
2k views

I am trying to get the TailwindCSS IntelliSense working inside an inline script. I am using handlebars in a simple One-Pager, however the autocompletion doesn't work in side the script tag. <div id=...
Nikolai Lehbrink's user avatar
1 vote
0 answers
991 views

I used the unsafe-hashes for our Content-Security-Policy to override the errors for our html inline attached events, so in Chrome it works fine and scripts like this are working properly: <a id=&...
silvio rossi's user avatar
0 votes
0 answers
966 views

I'm using Chrome Extension ReactJS which I'd like to insert this in popup.html: <script src="https://unpkg.com/[email protected]/build/index.js"></script> <script> ...
user16691768's user avatar
0 votes
1 answer
273 views

So I'm working on a django project and we're having English translated to Czech (not important). I can do fine with regular tags being translated with {% trans 'sample text' %} However, I have a ...
Jasasul's user avatar
-2 votes
1 answer
11k views

i want to disable the CSP - app.use(helmet.contentSecurityPolicy()) because it blocks any inline-scripts. the hash and nonce solutions (https://content-security-policy.com/examples/allow-inline-script/...
ינון רחמים's user avatar
5 votes
1 answer
3k views

I am developing a Flask App and it uses Flask-Talisman to incorporate a CSP. I wanted to create an inline script in one of my templates and instead of adding 'unsafe-inline' to the 'script-src' array ...
nosh's user avatar
  • 692
0 votes
0 answers
656 views

Consider this basic function in /js/foo.mjs: export function foo( ) { console.log('Hello, Modularity!'); }; How to import foo function inside an HTML document, so it can be used inline? <html&...
Monsieur Pierre Doune's user avatar
0 votes
1 answer
1k views

I have index.html where I want to load hotjar tracking code (only inline script), but it depends on the env variable. I tried to use webpack DefinePlugin new webpack.DefinePlugin({ 'process....
Oloji's user avatar
  • 175
1 vote
4 answers
235 views

We write PHP code inside the HTML code via <?php ... ?> tags. So normally it would not make sense to write HTML code inside PHP code that is already inside HTML code, if you can just exit the ...
s3c's user avatar
  • 1,917
1 vote
1 answer
466 views

I want to add inline Javascript on footer of my wordpress site. I know we can add inline Javascript using wp_add_inline_script. From my understanding from Codex tutorial, we have to register and ...
Null's user avatar
  • 69
1 vote
2 answers
5k views

How can we add an item to an arraylist while using foreach -parallel loop in powershell workflows? workflow foreachpsptest { param([string[]]$list) $newList = [System.Collections.ArrayList]@() ...
cansin aldanmaz's user avatar
4 votes
1 answer
16k views

A POST request sent to a certain URL (http://test.com) looks like this: { "messageType": "OK", "city": { "Name": "Paris", &...
Richard3's user avatar
  • 149
1 vote
3 answers
1k views

I have the code as shown below. Have removed unwanted code from this, just wrote what was needed. When I call my toggleFunc from inline script in body, it shown in console that this function is not ...
whyAto8's user avatar
  • 1,670
1 vote
10 answers
7k views

How should I quote this: <tr onclick="$.colorbox({href:'information1.html'});"> When put in an echo " "; ? I have tried this: echo "<tr onclick='$.colorbox({href:'...
pufAmuf's user avatar
  • 7,851
1 vote
3 answers
413 views

I just read in a best practices article for jquery and ajax that I should avoid defining behavior for elements on the page with inline script. That does make sense since it makes the code very ...
vikmalhotra's user avatar
  • 10.1k
1 vote
1 answer
505 views

After seeing many questions about how jQuery.load() handles tags in the content to be loaded, I see that jQuery strips out inline tags. But, I'd like to use Kontactr for the contact page in my site, ...
JustinP8's user avatar
  • 1,353
2 votes
2 answers
3k views

I want to learn advanced and basic things about ASP.NET inline scripting like <img src="<%= Page.ResolveUrl("~")%>Images/Logo.gif"/> or <asp:Label ID="lblDesc" runat="server" Text='&...
Tarik's user avatar
  • 82.2k