Posts by stacklover • 21 points
5 posts
-
-1
votes3
answers81788
viewsA: Open link in new tab without using target="_Blank" embedded in HTML
You can add addeventlistener without jquery without changing anything in the 'img' and 'a' tags' const element = document.querySelectorAll('a') element.forEach(function(el){…
-
-3
votes3
answers81788
viewsA: Open link in new tab without using target="_Blank" embedded in HTML
function link(x) { var url = x.href; var guia = window.open(url, '_blank'); guia.focus(); console.log(url) } and in html: <a href="http://google.com" onclick="link(this)">url 1…
-
1
votes1
answer388
viewsA: How to increase upload size in php?
Locate and change in the php.ini file (in the root directory of your hosting, usually public_html) these two parameters: post_max_size = 25M upload_max_filesize = 25M In case you haven’t added the…
-
1
votes2
answers368
viewsA: Fill in inputs from an iframe
using a version of the previous Chrome, e.g.: 71, you can use "-disable-web-security" to open Chrome with the permission to interact between frames of different domains, to bypass the protection of…
-
-6
votes2
answers74
viewsA: Store Time in the database
A time field in the database saved in this format: 00:00:00 and the input time field is sending the data in this form 00:00, if changing the field type in the database to scan will probably save…