I wonder if there is any way to hide the visible code in the inspect / ctrl + U or make it difficult. From what I've been researching PHP makes it difficult to consult the code, do you? What methods do you know about this?
I'm building a site that works with ads and so I can not allow a user to enter adblock, I tried to use the www.antiblock.org script but it only works on one page, another page where I work with navigation without refresh using ajax it blocks t...
No PHP I have seen uses of htmlspecialchars and mysqli . But in Java is there any way to avoid XSS and HTML injection?
I'd also like to know what would be the best (safest) way: Escaping the elements ( HTML , Java...
I'm using the sharethis plugin to share content on social networks. For this I am making the following call:
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=YOUR_PUBLISHER_ID"></script>Th...
How do I make a warning when the Caps Lock key is enabled in the password field?
At first I would like solutions in pure JavaScript, but using jQuery and related will be accepted.
I have a list that updates from time to time and I would like to add a similar effect to this site: Site
This is the list that is in the middle of the site.
Where, when a new item enters the list, the rest of the items go down making an...
I have a JSON in the following format:
{
"representantes":
[
{
"nome": "Foo LTDA",
"endereco": "Alameda dos Anjos",
"cep": "12345-000",
"telefone": "(11) 1234-1234",
"site":...
Let's imagine the following example :
$color = "red";
echo ("<button onclick='change_background("/red"/);'>$color</button>");
What should I use when I have 3 levels using the example in
change_background("/red"/); ?...
How to include a search within the Google search engine? Would you include a meta tag in my site for this to appear on Google?
A little difficult to explain, so I'll illustrate with an image.
I'm having a problem putting a background image on my page. I did some testing and it stays that way when I change the size of the window:
WhenIgetmaximized,it'sright: HowcanIadjustthisimagetogetthescreencorrectly?CSS:.login-page{background-...