newsblog
Thu, 09 Feb 2012, 18:21 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Hi gusy!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Hacking Jucaushii.ro Forum news ticker  (Read 679 times)
0 Members and 1 Guest are viewing this topic.
wooptoo
Baistruc

Offline Offline

Posts: 4 838


View Profile WWW
« on: Sat, 21 Apr 2007, 00:39 »

Copy de pe forumul J, in caz ca se trezesc sa stearga topicul wink

haxing j forum news ticker:

Metoda 1:
===================

Bara aia de sus e scrisa in JavaScript, deci e violabila. Here's how:

1. Se intra in directorul c:\documents and settings\user_name\mozilla\firefox\xxxxxx.default\
2. Se creaza fisierul user.js (in caz ca nu exista).
3. Copy/paste in el urmatoarele linii:
Code:
user_pref("capability.policy.policynames", "nojs");
user_pref("capability.policy.nojs.sites", "http://forum.jucaushii.ro");
user_pref("capability.policy.nojs.javascript.enabled", "noAccess");
4. Restart ff.

Astfel javascript va fi dezactivat doar pt forum.jucaushii.ro.
warning: fara JS dispare quick reply



Metoda 2:
================

1. Se intra in directorul c:\documents and settings\user_name\mozilla\firefox\xxxxxx.default\chrome\
2. Se creeaza fisierul userContent.css
3. copy/paste in el urmatoarele linii:
Code:
table#newsticker {
display: none;
}
4. restart ff

Dezavantaje: daca mai exista pe undeva un site care sa aiba un tabel in care sa existe un element cu id-ul "newsticker", atunci nu va fi afisat...
Cu extensia GreaseMonkey se poate specifica pt ce site vrei sa blochezi elementul... scripturi pt el gasiti garla la www.userscripts.org

Pt Opera:
Urmati aceeasi pasi dar liniile de cod bagati-le in fisierul user.css din c:\prog files\opera\styles\
« Last Edit: Sat, 21 Apr 2007, 00:42 by wooptoo » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Designed by | Licensed under Creative Commons BY-NC-ND 3.0 | Powered by SMF 1.1.15 | SMF © 2011, Simple Machines