Possible That Using Injection The Contents Of A Webpage Can Be Altered (add / Edit / Deleted) In Line Of Code?
Jun 6, 2009
i want to ask that is it possible that using javascript injection the contents of a web page can be altered (add / edit / deleted) in Line of Code.Since, this has happened with me couple of times,talking to the support team at my hosting provider, they say that its due to the security holes in the Coding, but i think that its the security issue at the hosting side (since modifying the web pages code)i've found this code immediately after the opening of the body tagearlier the page snoofing for the above URL was working, but now its not producing the output. (so can not post whats inside it).My Another website (hosted by the same provider) is also infected. there the code immediately after the body tag is again the page snoofing yeilds no output with the error
View 6 Replies
ADVERTISEMENT
Nov 3, 2011
I have an Extjs web app that's running on a spring/rest backend & I'm having a really strange caching issue with my web app's javascript files & no-one seems to be able to tell what it is.The issue is that I have deleted a section of code in the JS file, yet it's still appearing in the browser, both IE and FF.
Manually remove & re-add the file
Rollback the file to a previous version
Remove the file from the index.html and re-add it
Clear all cache in FF & IE
Disable firebug
Check the script is updated by manually accessing the file via the application URL & Firebug Script tab
Renaming the JS file
Renaming the index.html file
I'm at a loss as to what could be causing it.
View 1 Replies
View Related
Jul 16, 2010
if it is possible to edit the contents in a iframe to match your sites needs, like for example css/html. Is there any way this can be done in javascript or regular html?
View 1 Replies
View Related
Apr 5, 2007
Does anyone know how to Dynamically add new rows to a table through plain javascript.
I tried changing the InnerHTML with getelementbyid() already and that doesn't work.
View 3 Replies
View Related
Jun 21, 2006
i have a textbox and a link if I click on the link how would I make it change the contents of the textbox to anything i want such as "hello" how do I edit the contents of a textbox via a link?
<form>
<input type="textbox" value="">
</form>
<a href="#" onclick="scriptfunctionname(hello)">make the new contents of the textbox "hello"</a>
View 1 Replies
View Related
May 27, 2011
I want to change words in other words with script. For example: All the word "Post" will be replaced in "Webdeveloper.com" and etc... How is that possible? I not want use with:
"javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void"
View 5 Replies
View Related
Jul 30, 2009
I would like to be able to generate a table from which I can easily edit the contents of a mySQL database (similar to phpMyAdmin.) In that table I would like to have a button that will open a pop-up, allowing me to edit - and maintain formatting such as apostrophes and line breaks - a long description field. That popup will then populate a hidden input field on its parent with the modified description.
I've got the pop-up opening and its fields are populated using php's GET function (see line 11). The special characters, particularly carriage returns, are messing me up; I can remove them using php's str_replace, but I want to retain them for formatting.
View 1 Replies
View Related
Apr 8, 2010
On a client side HTML form, on hitting submit, I would like the data entered in the the form to be saved on the next available line within a .txt file.
For example, a basic HTML Form filled in as follows:
Name: Haze
Age: 400
Info: Hello World!
... on clicking 'Submit', the information would be saved to 'form.txt' on a new line, simply seperated by commas would be fine, example:
Haze, 400, Hello World!
If possible, the date and time the info was saved would really be great as well, example:
01/01/2010 9:41: Haze, 400, Hello World!
I might I cannot find anything on the internet for doing this client side.
View 8 Replies
View Related
Nov 23, 2009
Could anyone know the script code for a WEBPAGE ON TOP OF A WEBPAGE? The site was not working anymore, so I can't tell you the link. This is what I saw, When I visited the site (Mainpage) There's just a Welcome Image that shows CLICK HERE TO ENTER. After clicking the link, a loading faded icon appears on top of Welcome Image covering that Welcome Image with Webpages, it's like popping to the center of the page. I don't know if someone of you could understand me. It's like Page on TOP of another Webpage without leaving the 1st page.
View 1 Replies
View Related
Apr 27, 2011
I have this scroll to top code, but to edit the problem is that I will not see this eksamplen the page evry time, would like to reach all the way down on the side to be displayed. Here is Scroll to Top code:
[Code]...
View 3 Replies
View Related
Jan 18, 2010
I'm wrestling with this bit of code that almost works but does not. I'm only guess is that I need to find a way to edit the actual CSS document from the outside... which I'm assuming isn't possible. Is it? I've got a basic CSS Rollover effect going on. The kind that changes the background-position on hover. However I've defined the actual background image with PHP (a custom field in Wordpress) as a style="..." in the <a> tag. When I define the background-image in the CSS it works! When I define the background-image as a style="..." it does not work. Can I use javascript or something to edit the actual CSS document?
View 5 Replies
View Related
Oct 25, 2009
i am using the folowing jquery function to generate a table of contents from the h tags in my web page. I could make some changes but i am not able to extend the function, so that it puts numbers in front of my toc elements like
1.
2.
2.1
2.1.1
2.2.
[Code]....
View 1 Replies
View Related
Nov 16, 2011
Is anyone aware of a website which me and a friend can simultaneously edit code together? Much like google docs, but for code?
View 2 Replies
View Related
Dec 3, 2011
I have a slideshow on a test page at this link [URL]. I want to change it so that the slides loop rather than getting to the end and rewinding back to slide one. Can I alter the code (below) or would it be better to just find another code?
<script type="text/javascript">
$(document).ready(function() {
var currentPosition = 0;
var slideWidth = 1024;
var slides = $('.slide');[CODE]...
View 2 Replies
View Related
Apr 26, 2011
I have been given a piece of code that validates passwords, but need to edit the code with correct variable names and indentations etc.
Here is the original code:
What the variables n1 and n2 are/ what they do?
View 3 Replies
View Related
Mar 23, 2011
i have a problem with a third-party code written using JQuery and i would like to debug it.however, as it is in 1 line (in my classical editor) i would like to know if it exists an editor which explode this 1 line code in a normal Javascript code ...more human readable.
View 2 Replies
View Related
Oct 22, 2002
Is it possible to create a pop-up window without putting code in the <HEAD> of the document? I'd like to create a link to a new window but I don't have access to the <HEAD> of the page.
View 2 Replies
View Related
Jun 26, 2011
Could somebody please take a look at the lines of coding below and advise on how to complete it? It's a code to translate a piece of text, I kinda figured some of it out, The first part is to translate 'the cat sat on the mat' to 'thube cubat subat ubon thube mubat'. The second part is entering text and clicking a button to translate.
First part - translating cat on the mat:
function isVowel(aCharacter)
{
return ((aCharacter == 'a') || (aCharacter == 'A')||
(aCharacter == 'e') || (aCharacter == 'E')||
(aCharacter == 'i') || (aCharacter == 'I')||
[Code]...
View 14 Replies
View Related
Aug 12, 2011
How can I change the line "Re-record this video" to a button. And How can I change it's location on the page?
Code:
document.write("<p><a href='index.html?filename="+my_filename+"'>Re-record this video</a><br/><br/>");
View 4 Replies
View Related
Nov 12, 2006
How to code this line of javascript for Firefox.. Code:
if (document.all) fader.innerHTML = text_out; // document.all = IE only
View 5 Replies
View Related
Feb 22, 2011
I have a variable that says:
Code:
var Fname = lalala.js;
How do I write a function that moves the variable into a line of code like this?
Code:
<script type="text/javascript" src="lalala.js"></script>
The problem I having is the quotation marks as far as I know.
[URL]
View 3 Replies
View Related
Jul 20, 2010
When I want to handle html/css code in js/jquery it seems that line breaks aren't allowed. This of course makes the code less readable. Is there a workaround to this or is it simply to accept?This doesn't work:
$("head").append("<style type='text/css'>
#table {table-layout: fixed;width:650px;text-align: left;border-collapse: collapse;}
</style>");
This works:
$("head").append("<style type='text/css'>#table {table-layout: fixed;width:650px;text-align: left;border-collapse: collapse;}</style>");
View 3 Replies
View Related
Aug 29, 2009
This may seem like a silly question...
What are the rules for putting a semicolon at the end of a line of code?
View 6 Replies
View Related
Aug 19, 2009
I'm trying to convert a line using a regular expression. The re I am using is this:
<div><span>·<span>[s*]</span></span>([^<]*)</div>
I'm using the expression in the replace function like this:
html = html.replace( /<div><span>·<span>[s*]</span></span>([^<]*)</div>/gi,'<li>$1</li>') ;
The line of code I am changing is like this:
<div><span>·<span> </span></span>Illness - where a pupil is too ill to leave the house</div>
E.g. it should strip out the code and leave <li>Illness - where a pupil is too ill to leave the house</li>. It works fine here [URL] but when used with the replace command it does not? (I'm trying to convert bullet points from word).
View 2 Replies
View Related
Jan 25, 2010
I'm using jQuery+drupal and some jQuery plugins. All is ok with Firefox. But in IE's i'm receiving problem like this.
Line: 1
Char: 1
Error: object expected
URL: /
I have included .js files. How to know where is the problem? In which file? Line 1? Which file? If you need source code say me I'll PM you address.
View 7 Replies
View Related
Oct 10, 2011
I have the following line of code in a page and I need to 'hide' the entire row [code]...
Is there a way to do that?
View 1 Replies
View Related