Skip navigation.

exploreopera

| Help

Sign up | Help

My program for Opera

Block javascript pop-ups

,

Unfortunately Opera is not able to block "Pop-Ups v2.0" created with JavaScript (example).
But in most cases such advertising is added by external js, and it can be simply blocked with block-external-scripts.js. About installation userjs.
Also see blockexternal.js from shoust.

In Russian
Универсальная блокировка "всплывающих окон" реализованных на javascript.

Подобная реклама (пример) применяется всё чаще, видимо из-за наличия во всех браузерах блокировщиков "обычных" всплывающих окон. В принципе, бороться с ней достаточно сложно, но к счастью в большинстве случаев такая реклама добавляется с помощью внешних js-скриптов (посмотреть их можно с помощью кнопки Info), которые несложно заблокировать с помощью UserJS.

Для этого просто скопируйте block-external-scripts.js в вашу папку UserJS. Если её ещё нет, то создайте папку (например, Opera\userjs) и укажите её в Настройки->Дополнительно->Содержимое->Настройки Javascript

Upd.
Изложил в заметке основные способы блокирования рекламы в Opera.

All opera:... from Opera 9.5 build 9903Update google-translate.js.

Comments

avatar
Anonymous writes:

I palced both files "block-external-scripts.js" and "blockexternal.js" in the "userjs" folder and I had some trouble with slashdot.org where the comments (with lower scores) will not show when I click on the title. Reloading the page did not work. I disabled the "block-external-scripts.js" and reloaded the page and it was back to normal.

I would like to add that "AdBlocker.css" still works for me on Opera 9.27

By anonymous user, # 5. May 2008, 01:57:42

avatar
Add // @exclude http://*slashdot.org/* in block-external-scripts.js

Also you can use Ujs disabler for disabling on certain sites.
Button, "Disable/Enable block external scripts on this site"="Execute Program, "d:\opera\program\ujs.exe", "/exclude block-external-scripts.js %u" & Reload stylesheets & Refresh display"


AdBlocker.css

Fanboy's AdBlock List - better.

By Lex1, # 6. May 2008, 09:24:34

avatar
could you see this example : http://www.guapaslandia.es/foro/index.php

By deckard_slash, # 6. May 2008, 11:06:12

avatar
deckard_slash
As variant:
// ==UserScript==
// @include http://www.guapaslandia.es/foro/*
// ==/UserScript==
window.opera.defineMagicVariable( 'initfunction', function (){return null}, function (){return null} );

By Lex1, # 6. May 2008, 12:19:54

avatar
Max writes:

Спасибо огромное!!! :D С ума можно сойти с этой гребаной рекламой!

By anonymous user, # 3. July 2008, 09:16:47

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : 523fce

Smilies