473,386 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

My site was attacked - XSS, Javascript, moz-binding, firefox

So I implemented a javascript-based menu. And I wanted to keep the state of that menu when a person comes back to my page. So to do that, I create a cookie using javascript and I put the clicked link into that cookie. So each time the page is loaded, it checks the cookie and sets the page so that link is "clicked" and associated content is shown.

So I visit my site (in firefox) and I notice that -moz-binding is being applied to all elements that start with 'adText.' This is a javascript hack - it shows up in firebug but not in the source and it only shows up on my machine.

So I'm assuming it has something to do with my cookie? I tried deleting all cookies, offline content but it still doesn't get rid of the moz-binding.

Any ideas?

Edit: Oops I figured out the problem... I don't need help with this anymore.

How do you delete threads?
Feb 26 '09 #1
5 2532
drhowarddrfine
7,435 Expert 4TB
You can't. You shouldn't. Deleting your post was not nice. Not supplying the solution is not helpful for others. Some of us will remember that next time you need help.
Feb 26 '09 #2
It was a silly mistake on my part. My site wasn't attacked. There was no problem in the first place hence no "solution." The "solution" was turning off Ad-block plus in firefox.
Feb 26 '09 #3
acoder
16,027 Expert Mod 8TB
I hope you don't mind, but I took the liberty of pasting back your original text to give the thread some context in case someone comes across the thread looking for a "solution" to the same "problem". Anyway, glad to see that you managed to figure it out and thanks for posting.

Moderator
Feb 27 '09 #4
Ok, no problem. I'm new to a lot of this stuff - javascript cookies, jquery, css. So when I heard about xss, I got really paranoid and I thought that that's what happened in this situation. I did some googling and read about LiveJournal and I thought I had a similar problem. But apparently not!
Feb 27 '09 #5
Thanks for placing the post back cos I just had the same problem. Spent more than an hour trying to "solve" a problem caused by Adblock Plus. I would never have if not for this post. Thankks
Sep 29 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: riki | last post by:
hi, can anybody help me...i have Javascript biblie 3td edition in PDF format. when i'm trying to find something it takes to long. is there any API documentation regarding javascript with...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
3
by: Java script Dude | last post by:
I have still yet to see a JavaScript Editor that comes close to reading a good JS book, learing it and using it with a text editor. Anyway, here my recipe for build successfull DHTML...
9
by: Artist | last post by:
Mozilla and IE works different with Javascript. I have Javascript Code which works fine with Mozilla and it breaks with Internet Explorer. I like to convert my code to work with both the...
34
by: Andrew DeFaria | last post by:
I thought this would be fairly straight forward but apparently it's not. Given the following html file: <!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head>...
1
by: John Smith | last post by:
Can you tell me why Mozilla can't show some Javascript? example: function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",50) } function low(which2){...
7
by: AES | last post by:
Would anyone want to voice any opinions on this web site: < http://cyberatlas.guggenheim.org/home/index.html> It's apparently the home page of the Guggenheim Museum in New York. When it...
0
by: mgtimelogger | last post by:
The Canadian government would rather program peoples minds than in C. See below. Shocking New Book Published "Canada's Spies Attacked Me: A True Story of CSIS Terrorizing a Canadian Abroad" ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.