Security :: Javascript Be Crippled So Can't Leak IP?
Mar 29, 2010
When using TOR it is recommended that you disable javascript and all other scripts because they can be used to detect your IP, defeating the purpose of TOR.
But there are some sites that simply do not work without javascript. Is it possible to keep all javascript functionality but disable just the functionality that is used to leak your IP?
I need a textbrowser with Javascript Support. I have compiled the elinks stable 0.11x and the unstable 0.12x version mit JavaScript Support (js moz dev). Both browsers can be started and showed websites normaly. But no javascript, even simple tests like [URL] failed. I started elink with ./elink and typed then the url.
I've had problems with my sound that i mentioned in this topic: t=1386194 but noone answered so i started trying things.I've updated ALSA and managed to partially achieve what i wanted to, but other things gets messed even worse. I've get rid of choppy sounds problems and i can get sound from few applications UNLESS firefox isn't one of them.The problem is. If i start firefox first, and open a page that is using sound for example ..... and start a vid. Sound from all other applications is somehow blocked untill i'll turn off firefox. Or, when i start a music player, open firefox, pause player, start vid on ..... i have no sound from firefox.
What's weird is that i started quakelive (a web browser based game), started a movie in vlc, and went to system > preferences > Sound / Programs using output atm tab. And there was no apps at all, and both, firefox and vlc were playing sound. (screenshot attached to show this) How can i make firefox not to 'take' whole sound output?btw.
xubuntu 11.4 . my VLC was still playing when i pressed "reboot",it didn't reboot till i closed the VLC window,then it rebooted to a crippled desktop environment.(i regenerated the problem 3 times)
description of the crippled environment in the setting manager the "windows manager tweaks" and "windows manager" were empty(no settings in them) no full screen with videos and pictures no transparency effects windows didn't have the title bar,and can not be moved (except firefox)open windows didn't appear in the panel message boxes appeared embedded in the parent window alt+tab didn't work and more so i created a new user and his desktop was healthy i repeated the reboot procedure described above, and the same problem appeared again and again.
OpenSUSE 11.2 x86_64 Kernel 2.6.33-34.1(from Kernel:HEAD repo) KDE 4.4.1
Did the daily set of updates today, which included the kernel, but that update only had to do with enabling IPV6 on all flavors of the kernel. The update also included updates to the xorg packages from the X11:XOrg repo. However I was prompted that a requirement couldn't be met and one of the options was to downgrade xorg-x11-driver-input to the previous revision (not previous version). I thought that wouldn't matter so I did it.
I reboot and I am able to choose the kernel I want in the grub boot screen, get to the KDM login screen, however, after that the input is totally dead! Mouse and keyboard don't work whatsoever. I have a Logitech Cordless Desktop Wave mouse (LX8) & keyboard so I tried it with a standard PS/2 wired mouse & keyboard but it produced the same exact problem.
I'm currently developping a program in C++, using Qt, for an embedded board (SBC9261).It works well but crashes after some time, due to a system memory overload (my program uses more and more memory until 100%, when it crashes).I've been able to figure out the source of the memory leak :The function f is called by my program every second. f instanciates a new object (a QImage from the Qt lib), does a bunch of processing on it, and returns it to the calling function :
Code: QImage *MyClass::f(QString filename) {// Open image QImage *image = new QImage(filename);
root@XXXXX:~# uname -a Linux myserver 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:40:24 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm having serious memory leak issues on a server running CentOS. Running 'top' I can't find any proccess with an unusual memory usage. Is there any other way to check what is using this memory? Right now it shows that I have 4.8GB of RAM used, but top shows only few proccesses, one with 4% and lots of 0.0%.
I need to write a small program that eats away at availabe memory. I need to creaty a memory leak to test how other programs cope. I need to run this program on linux and see if the available memory is decreasing.
So I have done: Code: int main() { int *buffer; while(1)
I have 4 gigs of ram and xorg goobles up 70+% in a matter of an hour or so. I'm running a java app with lots of 2D graphics, firefox, pidgin, and one other java app. I recently upgraded to KDE 4.2 and got dual ATI firepro 3700 cards running 3 22" widescreens. The memory gets eaten until my java app crashes.
I'm using the fglrx driver as it seems the radeonhd one doesn't recognize the firepro 3700. Can one only have a single KDE4 version on the machine. I would like to be able to swtch back and forth between 4.1 and 4.2 in order to troubleshoot without all the downloading and installing in yast.
I'm afraid I have a huge issue with my newest Fedora 14 server. I recently migrated to Fedora 14 from Centos 5, which was very stable, but had ancient packages and libraries and my users were revolting...The machine is a HP ProLiant 360 G7, with 12G RAM and 6 SAS drives in RAID 5.After I migrated to Fedora 14, I noticed that for some reason, during the course of about 24 hours, all usable RAM "disappears" and applications are forced down to swap space. Needless to say I didn't have this issue on CentOS.
The server does heavy IO as per it's function (it's a heavily loaded file processing server and user simulation computing station among other things, which causes lots of random IO), so I thought it may be the cache, but then I realized it cannot be - because obviously Linux will use onyl "unused" RAM for caching and frees it up as soon as an app need it. Then, I thought to check the "slabtop" to see what's going on in Kernel memory. Unfortunately I don't have the screenshot from the time just before the latest crash, but there's a certain value displayed by slabtop, which slowly, byte-from-byte creeps over all available RAM, eventually forcing applications down to the swap. This is malloc-64, and as you can see from the bellow copy-paste, it's building up again even now...
Code: Active / Total Objects (% used) : 9118075 / 9153600 (99.6%) Active / Total Slabs (% used) : 152157 / 152157 (100.0%)
I have encountered this problem of memory usage is increasing as the during the my program is being run until 1Mb is left then it stays at that.A part of the program is this:
I can confirm my machine's GLX version is 1.4, and I definitively get the slow down problem, however, after running in a terminal:
Code: grep "object bytes" /sys/kernel/debug/dri/0/gem_objects grep: /sys/kernel/debug/dri/0/gem_objects: No such file or directory What am I doing wrong?
I dont know if this issue has already been solved, or if there are other threads dealing with it, but Im quite desperate with this bug that has been annoying me since I upgraded from 9.10 to 10.04.
Firs I thought it would be GEM related, but Im using a proprietary graphics card, so thats not the way to solve it. I experience the problems a memory leak provokes, mainly that, as time goes by with the laptop turned on, the system needs more resources to execute simple actions, and it freezes too many times. Plus IBUS will, suddenly, stop working (I still don't know if it is related or not), and, most of the times I log in, Notification Area 2.30.0 will load with errors.
I'm having some strange issues with apache. Time by time it segfaults, eats all available memory (including swap) and makes server non responding.Ubuntu Server 10.04.2 LTS
Some strange logs: Jun 12 12:00:18 *** kernel: [40767.969443] apache2[7635]: segfault at 726f7272 ip 00007f13a31f3f16 sp 00007fff6f740ea0 error 4 in libapr-1.so.0.3.8[7f13a31d7000+35000]
I installed Ubuntu 10.4 and everything works great "out of the box"! I didn't install any drivers.blem, a major one...When I type "top" right after a reboot, around 1GB of RAM is in use. After a few min it grows to 2GB, even 2.5GB for no reason. Luckily, my machine has 6GB of RAM but it's still a major issue for me.I read on another forum another user with the same problem on the same Lenovo machine and he solved it by installing the newest driver for his ATI device. I don't have ATI, but I have the impression that I can solve my problem the same way. Do you have any idea what driver my cause that? I checked the Intel site for a new Intel HD graphics driver but they don't have ones for Linux.
I updated several packages on one of my servers on Dec 21st and have been seeing excessive swapfile usage since then. The problem process seems to be httpd which in our environment runs a subversion server as well as serving a number of php pages over https. At present I am having to bounce apache approximately every 5 days as it has used all 8GB swap in that time.
[Code]..
Of the updates listed as installed, the only one that looks likely to affect apache is glibc. Looking at the stats from sar -r I can see swap usage increasing by approx 3% (of 8GB) every hour.
I'm using Fedora 15 with Gnome 3 on a 32 bit laptop. I noticed that there seems to be a huge memory leak issue with Gnome shell. When I restart it, it is around 20 MB. But it keeps rising, and after around eight hours, I noticed it was around 250 MB! I found a solution online that said to simply restart the shell if the gnome-shell memory consumption becomes too large. While this is fine as a temporary solution, I am looking for a permanent one. Is there a way to minimize/prevent the memory leak other than waiting for the next version of Gnome 3?
I am working on a web-interface that has to show certain data in real-time (update it every 2 seconds). I figured including an iframe and reloading it with javascript would be the best bet. So to see if it works I wrote this test code. But it doesnt reload the iframe every 2 seconds. Can anyone point out where I am going wrong ?this is the code for hello.html
i think something has broken javascript in my chromium installation. I've tried updating chromium and reinstalling/updating my java installation. Neither of these has helped. To give you an idea of the behavior I'm seeing this page does not have buttons, but pictures of all the buttons. Clicking them does nothing. Also, gmail's regular interface will not load. Functionality seems entirely normal (so far) in firefox.
I installed elinks from a slackware (slack 12.2) package, and no javascript anything is working. is that something i can only enable before install, or is there something in the setup menu i can do to turn it on?
I can't seem to get javascript to work in links. According to the documentation, there should be an entry in the setup menu for javascript options, and I don't even have that. I'm using slackware 13, and it came with links 2.2. I thought maybe it wasn't installed with javascript support, so I downloaded the source (2.3pre1) and reinstalled it:but still no javascript options in the menu.. and I verified that I was running the new version.
I'm trying to find a web browser which supports javascript for my embedded Linux. I have a ARM9 embedded board TQ4240 which runs on Qtopia 2.2.0 and have already installed konqueror, but it seems that konqueror doesn't support javascript. Is there any browser that you could support Jquery.
There is this sample web page: [URL] and it has a clickable link / button that executes a JavaScript function: (Right-Click and Copy Shortcut would give this piece of code)
Code: javascript:__doPostBack('lbtnUpdateStatus','') whereas the source code for the link / button is as follows: Code: <a id="lbtnUpdateStatus" href="javascript:__doPostBack('lbtnUpdateStatus','')">
I want to automate the above function / link along with the said URL so that I won't have to open the webpage and click the button / link. I want a single URL hitting which we won't need to do the extra effort of "clicking the link / button" that executes the JavaScript function given above. I can't automate this task in the source webpage itself because that has to be there as it is for the users who access the webpage. How to achieve it?
I got some useful information here: [URL] but I want to call a javascript function along with a URL such as this: Code: [URL] javascript:alert("OKAY") but the above line of code won't work.
I went to [URL] the other day, and I'm really impressed with the way, when you click on domain, it adds it to the cart WITHOUT A REFRESH. But what I really want to know is - how does it do the slick little effect when you click "Add to basket", when it "appears" on the right hand side?
I have some variables that are loaded from mysql - in mysql, the line breaks are not indicated by ' or '<br>' or anything -they are just line breaks. the variable is loaded into javascript and then inserted into a <pre> element. the line breaks are not showing up.
pre1 = pre1.replace(/>/g,">"); - this works well, naturally. but how do i get those line breaks to show up as line breaks in a browser?