lulzsun / blitz-app-adblock Goto Github PK
View Code? Open in Web Editor NEWSimple and quick patcher that blocks ads/trackers on the Blitz.gg desktop application.
Simple and quick patcher that blocks ads/trackers on the Blitz.gg desktop application.
Even with a re-installation with this following guide it is impossible to remove the patch
Error: Current Blitz version caused patch comparison check to fail. Look for a new patcher release or create a new issue on Github!
at Object.modifyFileAtLine (/snapshot/blitz-app-adblock-3.0.3/io.js)
at start (/snapshot/blitz-app-adblock-3.0.3/blitz-app-adblock.js)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Manually building v3.0.3.
I just have no idea how to enable this feature please help.
I've been considering to add the option of having the patcher install in a way that would allow it to automatically apply the patch anytime there is a Blitz update.
I won't be making this option as default or required, because I wouldn't want the patcher to feel intrusive.
Before I implement such a feature, if you have any concerns, questions and/or suggestions on this topic, feel free to comment below. It would be very nice to receive other users' insight on this topic.
Force closed on the new patch.
if u can point me in the right direction I could work on it.
I’m abit confused on how to install this ?
Is it possible to update this in order to add unpatch functionality? That way we can simply unpatch, update Blitz, then patch again, instead of having to clean install Blitz every time an update comes out. Thanks for your work on this btw!
First of all thanks for the efforts, this ad is really annoying. Back to the problem, could you please add instructions on how to install the solution for iOS, would be much appreciated, thanks.
it will go to 'Downloading ad & tracking filters...' and then not respond. I cannot close it, I have to restart my pc to close it.
there is no way to remove the app in the readme , i'd like to remove it as as it breaks Porofessor aswell
While a new update is available, it is impossible to start Blitz again, and your program close before i can type the -noupdate command i filed this issue too.
app.log
get this everytime i try to run the program
Commands like -noupdate
are impossible to input in the program : it close before
This doesnt seem to work anymore. There is no file to attach since the program just closes out when I try to launch it after using the adblock, Tried using the -noupdate aswell. Didnt help.
Closes on startup
Reinstall helped. ¯_(ツ)_/¯
C:\Users\Edenl>C:\Users\Edenl\Desktop\blitz-app-adblock\blitz-app-adblock-win.exe -noupdate
Extracting app.asar...
Downloading ad & tracking filters...
Patching...
Error: ENOENT: no such file or directory, copyfile './build/adblocker.umd.min.js' -> 'C:\Users\Edenl\AppData\Local\Programs\Blitz\resources/app/src/adblocker.umd.min.js'
at Object.copyFileSync (fs.js:1912:3)
at Object.copyFile (F:\snapshot\blitz-app-adblock\io.js)
at start (F:\snapshot\blitz-app-adblock\blitz-app-adblock.js)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
errno: -4058,
syscall: 'copyfile',
code: 'ENOENT',
path: './build/adblocker.umd.min.js',
dest: 'C:\Users\Edenl\AppData\Local\Programs\Blitz\resources/app/src/adblocker.umd.min.js'
}Press ENTER to quit...
Blitz update : 1.13.77
How can I uninstall this?
I've been telling them to ad a way to pay for the app / remove the ads for A YEAR.
This means a lot to me, thank you so much!
Blitz version 1.15.14
After using last release of blitz-app-adblock, blitz just starts first window then terminates. If I reinstalled blitz again, it works fine. I guess they made something to detect modified codes or something, so can you fix this in your next release.
Thanks for your efforts at all
Hey, nice patch.
Blitz app keeps poping up, you got anything against that ?
I installed the program with the -noupdate
option, but Blitz app still continues to update and triggering an infinite loop of updating the app.
Maybe I didn't do the option correctly (cmd into the directory and ran blitz-app-adblock-win.exe -noupdate
)?
so i came across ur project and decided to give it a try. Followed all the steps, but when I launch blitz it crashes instantly. Any ideas on how to fix it other than reinsalling blitz. I want blitz without ads plss
I used the Adblock tool however when I open up Blitz again the splash appears and then crashes and closes.
It says "Starting Blitz" .... "Connecting".... then crashes.
Patch fails: Error: Current Blitz version caused patch comparison check to fail. Look for a new patcher release or create a new issue on Github!
Hi, I have this error when I launch the game, i don't know why do i have this nor what did i do wrong.
Possible issues that might have, lmk if it's that or not (don't want to fuck up everything)
-> Might be because I launch blitz automatically on startup
-> Might be because I have an account authentificated on the blitz servers
-> Might be because something's off since the new updates
Hope i'll have an answer on what's the problem and how to solve it.
Thank you by advance ! :D
P.S : I can use the app as long as i don't press the "OK" button on the error which cause to close the app entirely.
Would be great to have a MacOS version available. The application itself looks like it has the same file setup. For most people the app is located at /Applications/Blitz.app/Contents
Anyways, thanks for the great app, I have it on my windows computer 💯
Checking for Blitz...
Extracting app.asar...
Downloading ad & tracking filters...
Patching...
Error: Current Blitz version caused patch comparison check to fail. Look for a new patcher release or create a new issue on Github!
at Object.modifyFileAtLine (F:\snapshot\blitz-app-adblock\io.js)
at start (F:\snapshot\blitz-app-adblock\blitz-app-adblock.js)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Press ENTER to quit...
Extracting app.asar...
Downloading ad & tracking filters...
Patching...
C:\Users\User folder\AppData\Local\Programs\Blitz\resources/app/src/createWindow.js => Writing to line 119: try {const fs = require('fs');const { FiltersEngine, Request } = require('./adblocker.umd.min.js');const filters =fs.readFileSync(require.resolve('./easylist.txt'), 'utf-8') + '\n' +fs.readFileSync(require.resolve('./easyprivacy.txt'), 'utf-8') + '\n' +fs.readFileSync(require.resolve('./ublock-ads.txt'), 'utf-8') + '\n' +fs.readFileSync(require.resolve('./ublock-privacy.txt'), 'utf-8') + '\n' +fs.readFileSync(require.resolve('./peter-lowe-list.txt'), 'utf-8') + '\ngoogleoptimize.com\n';const engine = FiltersEngine.parse(filters);windowInstance.webContents.session.webRequest.onBeforeRequest({ urls: ['*://*/*'] }, (details, callback) => {const {match} = engine.match(Request.fromRawDetails({ url: details.url }));if (match == true) {log.info('BLOCKED:', details.url);callback({cancel: true});} else {callback({cancel: false});}});} catch (error) {log.error(error);}
C:\Users\User folder\AppData\Local\Programs\Blitz\resources/app/src/createWindow.js => Writing to line 106: session: true,
Repacking app.asar...
[Error: UNKNOWN: unknown error, open 'C:\Users\User folder\\AppData\Local\Programs\Blitz\resources\app.asar'] {
errno: -4094,
code: 'UNKNOWN',
syscall: 'open',
path: 'C:\\Users\\User folder\\\AppData\\Local\\Programs\\Blitz\\resources\\app.asar'
Hasn't been working since the blitz update on the 3rd of February, replaced my user folder name with "User folder". Redownloaded adblock again to be sure as well.
Hey there fella, first thank you for your work!!
Fortunately it does not work in my end, after applying the patch blitz is refusing to start up, I see the initial loading logo then it crashes, any ideas?
I'd like to buy you guys a coffee or something, do you have donation link?
Hello,
I just wanted to thank you so much I've been looking for something similar I even tried to edit my host in my pc just to get ride of those useless ads xD
Anyway I just wanted to thank you soo much for your hard work
Error: Current Blitz version caused patch comparison check to fail. Look for a new patcher release or create a new issue on Github!
at Object.modifyFileAtLine (F:\snapshot\blitz-app-adblock\io.js)
at start (F:\snapshot\blitz-app-adblock\blitz-app-adblock.js)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Thanks for the great tool!
Building and running on MacOS results in an error.
Can be run and make it work like this though:
Maybe put this into the readme.md?
Hi!
I'm new using this repository, and I don't understand how i get it to work
Even when running as admin, it is no longer blocking on the latest version. when it is on the ad tracker and filter step it has a connection time out and does not continue.
The latest version doesn't work,it still has ads.
The old version is still working.
Thank you for your work!
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.