Encrypt / Hide "special Offer Code" In Script?
May 25, 2009Need some way of encrypting or hiding the "special offer code", 45291, from prying eyes in view source mode. Unicode? code...
View 2 RepliesNeed some way of encrypting or hiding the "special offer code", 45291, from prying eyes in view source mode. Unicode? code...
View 2 RepliesAny one knows how to encrypt javascript code... other way than escape()
and unescape() [not is encrypt but a way to protect source code ????
I downloaded jquery today in the hopes it would speed up my development. but its not working at all.
Ive tried including it as an external js and ive tried it directly on the page. regularjavascript works but not jquery. im using wampserver with short tags turned on.
I would post some code but my special keys do not work in this form for some reason. but i can assure u i have triple checked all the code against many different sources and its correct.
like i said regular javascript works fine but jquery code will not. any ideas on what i should check/try?
I am trying to hide this code:
HTML Code:
using this code
HTML Code:
This works fine when I place this code under the html in the main source, but if I try to add this Jquery code to an external js sheet it doesnt seem to work?
Currently my js sheet is called in the header, when I move this link to the footer of my page the code works again, so Im guessing this has something to do with where the jquery code is placed in relation to the code Im trying to hide?
How I can keep my js in the header but still make the content disappear on click?
I have following code
Code:
<div class="menu_dot" onclick="slideMenu(this, 'offer', event);">Offers</div>
<div id="offer" onmouseover="" onmouseout="wtf(event, 'offer');">
<div class="menu_slide" onmouseout="return false;">Add</div>[code].....
the problem is that when i move mouse into the "offer" div within the div i put my mouse from the div with "Add" over "Search" the onmouseout event is triggerd and the wtf() function is fired. and i want to fire wtf() only when i pull my mouse out of the whole "offer" (container) div.
I encrypted(AES) data with Javascript . I want to decrypt this in c#. While decrypting in c3 I am getting error "length of the data to be decrypt is not valid" For encryption in Javascript I am using following code,
var
randomnumber="91860F52E5C3A09BA3B827F28070E08D";
var encByteData = byteArrayToHex(rijndaelEncrypt(strFileContent, hex2s(randomnumber), "CBC"));
For the decryption in c# I am using following code,
Calling function,
DecryptData(byteArraySignData, "91860F52E5C3A09BA3B827F28070E08D",
ref byteArrayDecryptedData);
[code]....
I think my last question was not clear, so people gave me the reverse
answer.
I want to put a string in an html file, and human eyes or robots will not be
able to read it.
For example I want to turn this one
<a href="#" onclick="this.href='http://www.google.com'">click here</a>
into
<a href="#" onclick="this.href=' encoded of h encoded of t encoded of t
encoded of p encoded of :
encoded of : encoded of / '">click here</a>
I prefer bit OR, the ^ opertaion, but ASCII is fine with me, like %40%xx%xx
This plus disable right click will make search engines and view source
difficult but still possible to know where it is linked too,
is there a way in javascript to encrypt and decrypt a string?
View 1 Replies View RelatedIs any way to encrypt the javascrypt code ?
View 3 Replies View RelatedI need to encrypt my AJAX requests and responses from the server. As the message format I use simple JSON.Can you advise any libraries about it?
View 7 Replies View RelatedWhen I run the following code the script will not display the second id field from the form:
function enCrypt( code ){
var form = document.getElementById( 'myForm' );
document.write(form.cipher.value);
document.write(form.msgcode.value);
} // end function enCrypt
</script>
<form id = "myForm" action = "">
<p>Enter cipher : <input id = "cipher" type = "text" /></p>
<p>Enter message : <input id = "msgcode" type = "text" /></p>
<p>Result : <input id = "result" type = "text" /></p>
<input type = "button" value = "Encrypt"
onclick = "enCrypt()" />
Is there any way how to encrypt some html text in php and afterwards decrypt it with javascript and send it with form?
Example:
<input type="hidden" value="password"/>
I don't want to have seen value "password" in html source code but I need to send the value by form...
I have a need of a Java Script function to encrypt passwords into Salted SHA in a format similar to the way LDAP stores it.
View 6 Replies View RelatedI have an issue with this directory/locator/finder thing we are building using Google Maps. Will allow you to locate (say) golf courses in your area or anywhere in the US. Anyway, we spent a bit of time adding all the latitudes and longitudes to show the markers on the Google map, and other information into all the javascript code. The problem is, I don't really want a competitor to be able to just find the js file or html or xml and copy it for their own site. So, is the only solution (to hide the information we've gathered) to do this via PHP
View 1 Replies View RelatedIt's possible to protect the source code of a js file? With PHP?
View 15 Replies View Related"No right-click" scripts only end up annoying the users... Is it possible to hide the source code..... without showing the JavaScript source!!!!!
View 14 Replies View RelatedI have a very generic webpage that I created to attempt to show a rule that is used. I have used some drag and drop language that I found which enables me to drag and drop elements on the page. This is great. My problem is I have a total of 6 drag and drop items in two catagories. CML and nonCML. If one nonCML is used, I'd like two of the CML objects to disappear. (disappear could even be turning white to make them hidden). I'm very new to Javascript. Is there easy code that would say if an item from Catagory 1 is moved, have 2 items from Catagory 2 disappear?
View 7 Replies View Relatedso I want to set up some 'freebies' on my website... random verses and 'updating' content that I would like to change every so often, without the 'user' of the content (people reposting on their website) having to change the code every time (and without giving away the COMPLETE code)... am I making sense?I want to offer a different code in the 'textbox', where others grab the code than the complete 'building' code...:confused: I am so lost! :confused:I'm brand new at 'codes'
View 2 Replies View RelatedI am creating a blog and I thought it would be cool to have the Konami code in it. Basically, I would like is to either show or hide a div when the code is entered. So lets say the Div is hidden, they would enter the code and it would then show. If it was entered while the div was shown, it would then hide. Is there any way to do this? I think there would be, but I don't know how to accomplish it.
Here's a link to the Konami code I'm using:
I am trying to figure out how to hide the direction page in this code:I want to hide: www.ipage.com/mail/index.bml
<INPUT TYPE="submit" NAME="Log In"
VALUE="Check Mail"
onclick="javascript:login.action='http://www.ipage.com/mail/index.bml?s=1';
[code]....
I have this bit of code that shows and hides various spans and it works great in ie. It doesn't work in Newscape of Firefox - havn't tried it in Opera. How can I change this? Code:
View 5 Replies View RelatedSo I'm making an ecommerce store and I'd want to hide a product scroller and a banner if the page is any other than index.php, and I know jQuery has the .hide function, but all the examples link it to a button/link/other but I don't understand how to code a conditional statement that hides the code if the page loaded is anything else than index.php.
View 2 Replies View RelatedI have these div tags, they're very similar but I just need to change the IDs.
Is there anyway to condense this code:
I am passing an araryList from c# code to javascript, but if i do viewsource on page i can see the value of Array, is there any i can hide it, dont what the user to see the values of javascript array if userdoes view source on the opage
View 2 Replies View Relatedwrote me jvascript code for show/hide table rows.The situation is:
<table 1>
row 1
row 2
row 3[code]...
row 1 and row 4 are in one looping
row 2, row 3 ,row 5 and row 6 are in another one looping.The picture is like this:
1.when page load..
2.only row 1 and row 4 display
3.when row 1 is clicked row 2 and 3 will display
4.when row 4 is clicked row 5 and 6 will display
I need to somehow hide this block of HTML code in my page. Now I have no control over the code as it comes from another site so there is no ID or anything. If the <a> or <td> tags had ID I could hide it with javascript.
Code:
<tr>
<td>
<center style="color: rgb(82, 87, 87); font-size: 10px;">Some Text <a target="_blank" style="color: rgb(82, 87, 87); font-size: 10px;" href="http://google.com/">google is good</a>
</center>
</td>
</tr>