Posts by Samuel • 99 points
6 posts
-
-1
votes1
answer121
viewsQ: How to block translation into an HTML element/tag
<div id="title-div"> <h3 id="title">C<i class="fas fa-virus"></i>vid-19 in </h3><h3 id="in-country">loading...</h3> </div> I need the H3 tag…
-
0
votes1
answer139
viewsQ: how to execute a powershell command inside a window started by a script
I have a script.ps1 file and the first line of it is to open another powershell window: powershell Start-Process powershell -Verb runAs But the problem is that I need to execute other commands…
powershellasked Samuel 99 -
1
votes2
answers1177
viewsA: Saves browser status or cookies using Selenium
import os from selenium import webdriver dir_path = os.getcwd() profile = os.path.join(dir_path, "profile", "wpp") options = webdriver.ChromeOptions() options.add_argument(…
-
0
votes2
answers126
viewsQ: execute a javascript file when the user accesses a Node route
I have the route / on my server.js: app.get("/", function(req, res){ res.sendFile("public/index.html", {root: __dirname}) }) And I need to run another javascript file that is in the same directory…
-
-1
votes2
answers271
viewsQ: getElementById in React/JSX
I started my React studies yesterday so I don’t have much knowledge about, and I’d like to know how to give a document.getElementById() in React/JSX, how do I do this? I tried to use…
-
5
votes3
answers1204
viewsQ: How to get the system date in Javascript?
It’s a simple question I imagine, I’m starting my studies in Javascript and would like to know how to get the date of the computer (year, month, day, hour, minute and second). Also, does the date…