File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ chrome.storage.local.get(null, function (res) {
2828 'hide-videos' : false ,
2929 'hide-whole-feed' : false ,
3030 'hide-liked' : true ,
31+ 'hide-suggested' : true ,
3132 'hide-other-reactions' : false ,
3233 'main-toggle' : true ,
3334 'sort-by-recent' : true ,
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ function getKeywords(res) {
274274 if ( res [ 'hide-by-companies' ] )
275275 keywords . push ( 'href="https://www.linkedin.com/company/' )
276276 if ( res [ 'hide-by-people' ] ) keywords . push ( 'href="https://www.linkedin.com/in/' )
277-
277+ if ( res [ 'hide-suggested' ] ) keywords . push ( 'Suggested' )
278278 console . log ( 'LinkOff: Current keywords are' , keywords )
279279 return keywords
280280}
Original file line number Diff line number Diff line change @@ -151,6 +151,11 @@ <h2 class="title is-2 has-text-centered">Link Off</h2>
151151
152152 < div class ="divider "> Hide post by interactions</ div >
153153
154+ < div class ="field ">
155+ < input id ="hide-suggested " class ="switch is-rounded " type ="checkbox " />
156+ < label for ="hide-suggested "> Hide suggestions</ label >
157+ </ div >
158+
154159 < div class ="field ">
155160 < input id ="hide-liked " class ="switch is-rounded " type ="checkbox " />
156161 < label for ="hide-liked "> Hide liked by connections</ label >
You can’t perform that action at this time.
0 commit comments