File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,7 @@ Version 1.2.1
44
44
Version 1.3.0
45
45
- Added functionality to remove blur filter from article;
46
46
- Remove ads within article and reduce the excessive space it occupies.
47
+
48
+ Version 1.3.1
49
+ - Removed unnecessary timeout-based loop;
50
+ - Removed forgotten console log printers.
Original file line number Diff line number Diff line change @@ -60,17 +60,10 @@ function removeBlurFilter () {
60
60
}
61
61
62
62
function removeExcessSpacing ( ) {
63
- setTimeout ( function ( ) {
64
- let elems = document . body . getElementsByClassName ( "inread_adv" ) ;
65
- console . log ( "prima: " + elems . length )
66
- if ( elems . length > 0 ) {
67
- for ( let elem of elems ) {
68
- elem . parentNode . removeChild ( elem )
69
- }
70
- console . log ( "dopo: " + elems . length )
71
- } else {
72
- console . log ( "ripeti" )
73
- removeExcessSpacing ( )
63
+ let elems = document . body . getElementsByClassName ( "inread_adv" ) ;
64
+ if ( elems . length > 0 ) {
65
+ for ( let elem of elems ) {
66
+ elem . parentNode . removeChild ( elem )
74
67
}
75
- } , 100 ) ;
68
+ }
76
69
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 2 ,
3
3
"name" : " Anti-Messaggero" ,
4
- "version" : " 1.3.0 " ,
4
+ "version" : " 1.3.1 " ,
5
5
"description" : " Automatically remove the paywall that blocks a user from reading an article and the pop-up containing the video attached to it." ,
6
6
"homepage_url" : " https://github.com/lorenzodb1/anti-messaggero" ,
7
7
"icons" : {
You can’t perform that action at this time.
0 commit comments