Hide Source Code
Jul 23, 2005It's possible to protect the source code of a js file? With PHP?
View 15 RepliesIt's possible to protect the source code of a js file? With PHP?
View 15 Replies"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 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 RelatedI know nothing about javascript but I was able to handle the instructions to install the login/password feature: http://www.javascriptkit.com/script/script2/loginpass2.shtml
works great! however, when someone views the source code, they're able to see what the password is. additionally they can see the url of the page it would take them if they entered the password. how do i protect against this vulnerability?
i am doing project where i need to convert recorded voice to text format means that i can convert mp3 or wav to text
View 1 Replies View RelatedI've a problem: I need to retrieve (in javascript) the soure HTML code
from a url without loading the page then put the HTML source code in a
string variable to manipulate it. From this variable I need to get all
the links to perform some operations.
how to hide the source when user click on viewsource ex
<script LANGUAGE="javascript">
document.write("hello");
</script>
On most EVERY commercial site (including the pages on comp.lang.javascript) I find the following code, word for word.
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
Is this some "standard" code that every Web page should have. Does it
control the opening of new windows when a user clicks on a newsgroup
message.
Is there a function in javascript to get the source code of a page and contain it in a variable, or automatically obtain information from it in some way?For example, if I needed to get the title of a certain page, would I be able to somehow implement document.title to get the title of a webpage?
View 4 Replies View RelatedI made a table that retrieves some Data from the Database also I did some calculations for this data using Javascript and It works fine , but I can't see the calculated values in the source code. That's the Problem , cause I can't print it or export it without these values and the source code doesnt show it. So , what can I do , to view the generated values from JS in the source code? I'm using IE 6 only as a web browser and the Javascript Calculations are functions and Classes in a seperated file and I linked it to the Report page ...
View 2 Replies View RelatedI have a e-mail on my myspace account and I didn't write it. How can I find out the IP addresse from where it originated? I have looked at it and looked at it but I can't find anything except my myspace account addresse on it. I want to know basically where to look to find out the computer or IP addresse that it originated from.
View 1 Replies View RelatedHow do I create a JavaScript script to save a web page's source code to a file?
Example: I will go to a website, it automatically from the web page's source code will be saved to a file.
I would you grab the source code from an IFRAME and display it in a textarea?
I'm trying to create a sort of preview page that both shows a rendered page, then shows the source code next to it.
[edit]: I'm thinking that using OnLoad JS event in the HTML body tag would allow this to work. The page loads, the OnLoad event calls a JS function that pulls the innerHTML from the IFRAME and inserts it into the textarea.
how can i write the sourcecode of the page to a textarea?i thought about something like
Code:
function dump()
{
[code]....
I'm wondering, I've looked at several examples of this, but none seem to work. I can get POST functions to work (posting data to a certain URL is no problem). However, I can't get the source code of a page. Here's the function I've got so far:
Code:
I'm wanting to use this to use certain settings in the script on my web site that I have stored on another page. The usage is like this:
Code:
And then googlesource should be populated with the source code of [url]. Just an example. why the above function is not working? I've tried messing around with all kinds of request headers and everything.
All the function returns is "undefined".
I have a good HTML markup parsing function which uses DOM methods to create element nodes with attributes and contained text nodes. But for some reason I am having difficulty getting the event handler attribute value (which is javascript code) converted to actual source.
[Code]...
But when I click on the button in Firefox, nothing happens. Using a Javascript debugger, the trace doesn't even enter the handler code, which effectively means the event listener has no script.
So converting the code-as-string to code-as-source using the Function constructor is not working. Or else the event handler setting function or assignment is not what it should be.
Is it possible to get a websites source code using ajax?
View 1 Replies View RelatedOk I made a post yesterday for a calculations script and I figured it out.Now the problem I have is as soon as I put it on my website a competitor is going to steal the code and put it on his/her/their page.Is there a way that I can put in my html a call to the javascript so that it just gets the script runs it and then displays it to my page without actually having the source displayable anywhere? Here is the code I made that I want to protect:
Code:
<html>
<head>
<script type="text/javascript">[code].....
I am using fadein and out of jquery, but size of jquery file is high for me. so i should replace it.do anyone know, how can i write fadein and fadeout functions? is anyone know its source code?
View 3 Replies View RelatedI have a small script that creates and removes elements from an html form. This script also renames some elements upon deletion of another element. But this does not seem to be working properly. The problem is that i can't really figure it out so i was wondering if there is a way to see the source code that is created by JavaScript,in order to track down where the problem is.
function removeDiv(divNum){
var container = document.getElementById("container");
var removedID = document.getElementById("div" + divNum);
container.removeChild(removedID);[code]....
// the code below works if i delete the "for" above, and doesn't work if the "for" is there. specifically, if the added elements are 5 or more and i delete the last one, the value of y remains the same. if i delete the first or one in he middle, it works. if i delete the last and reduce the elements to 1,then add another 5 and delete the last one (as it would not work initially) it works!
var y = parseInt(document.getElementById("totalElements").value);
document.getElementById("totalElements").value = y - 1;
}
<input type="hidden" name="totalElements" />
The value of totalElements increases every time an element is added and this works well.
Adding a new plugin page only has Project resources section which only has links to refer.Is there any way by which I can just attach/upload my plugin source code instead of linking to some website?
View 1 Replies View RelatedAfter lot of research I found that its impossible to disassemble the source code view in the window toolbar.. but finally I found this site that have the function that I am describing..
Start addy here:
mortgagecalculators.ws
/
mortgage-payment-calculator
.
php
End of addy:
The address is separated in pieces because I cant post links and don't forget to include the extension php with the dot at the end of the address but note that if you click on the back history button and then the forward. The java does not work. I get into the source looking for some java call... but nothing found related to security disable source code...
are there any scripts on the web that could disable visitors from viewing my web source code? (can java script do this? if not any recommendations?)
View 14 Replies View RelatedDoes anybody have regex engine source code? Any link on javascript engine. Really interesting to look at.
View 1 Replies View RelatedLet me give an example: javascript: var myvar=10; function myfunc(){}; void(0); After excuting the above js source code in the address bar of my browser, I can use window.myvar and window.myfunc() to access myvar and myfunc. This indicates that the above "address-bar javascript code" must have been stored somewhere in the current page.
My question is: where is the "address-bar javascript code" stored in the current page? or equivalently, is it possible to retrieve the "address-bar javascript code" by using some other javascript codes?
I checked document.childNodes and document.documentElement, but cannot find the javascript source code. Maybe the source code is stored in the window object? How to retrieve it?
Does javascript have acces to source code of previous page when I open a
page from the same domain with:
window.open("new_page_with_script","_self","");?
window.opener.document.innerHTML doesn't work ;(