plaque-fcc / luakit-adblock Goto Github PK
View Code? Open in Web Editor NEWAdBlock for luakit browser.
AdBlock for luakit browser.
Привет! Создал правило в AdBlock+ Element Hiding Helper, чтобы спрятать рекламу для сайта http://www.teletrade.com.ua/analytics/economical_calendar
Нужно заблокировать flash-рекламу слева.
Правило получилось таким -
teletrade.com.ua##OBJECT#teletrade_2halves_220x440
или таким -
teletrade.com.ua###teletrade_2halves_220x440
Adblock+ с этим правилом успешно справляется в Chrome и Firefox
но в Luakit не хочет!
Если сделать "в лоб", прописав блокировку http://www.teletrade.com.ua/sites/default/files/teletrade_2halves_220x440_ukr.swf
тогда реклама блокируется, но браузер немного подтормаживает, видимо из-за скрытого флэша. Появляются артефакты. Поэтому хотелось блокировать не сам smf, а объект. или весь столбик /html/body/section/section/article/section[1]
но никак не получается.
Подскажи, как лучше составить правило, чтобы его проглотил Luakit?
Hi,
I think we should add a line to check if easylist.txt exists. if not, we should call adblock-update.sh
via os.execute
.
Also we can consider rewrite adblock-update.sh in lua but http modules using external libs in lua.
Edit: init => adblock/init.lua
easylist.txt works fine, but when I'm enabling ruadlist+easylist.txt ( https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt ), luakit just shows blank white pages on all sites
Здравствуйте. Проблема заключается в следущем: Поставил Speed-dial аля опера и adblock, все бы хорошо только по переходу luakit://favs/ все намертво подвисает минуты на 3 потом только открывается speed-dial. Отключаю adblock в конфиге speed-dial грузится нормально. Правильно ли я подозреваю что luakit://favs/ нужно добавить в вайт-лист adblock?
Подключил все как написано в руководстве. скриптом скачались правила. переписал куда нужно. при запуске luakit падает с ошибкой: /usr/share/luakit/lib/chrome.lua:162: attempt to index local 'webview' (a nil value)
[ 0.046306] E: luakit: main:189: no windows spawned by rc file, exiting
ткните ссылкой куда копать плз.
I cant understand what's wrong. I have added adblock.lua and adblock_chrome.lua into my luakit config directory. I added require "adblock" and require "adblock_chrome" into my rc.lua after string "user scripts...", I have downloaded easylist.txt and additionaly ruadlist+easylist.txt and activated both of them into luakit with commands :able 1 and :able 2. And I see it on special page after gA typing (all is enable). But it don't blocks any banners at all! For example: linux.org.ru, habr.ru or d3.ru! What do I do wrong?
I see that my easylist.txt contains this line:
! Version: 201412102340
It would be nice if the page at luakit://adblock included that version string.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.