Skip to content

Commit

Permalink
deleted unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-pratap-singh committed Sep 12, 2024
1 parent f12d29e commit 93ca2b0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 248 deletions.
5 changes: 1 addition & 4 deletions browser-extension/plugin/src/content-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@ chrome.runtime.onMessage.addListener(async function (request) {
window.addEventListener(
'load',
async () => {
// console.log('content loaded');
// console.log("wowowow")
console.log('content loaded');
const pref = await getPreferenceData();
// console.log(pref);
const { enableSlurReplacement , enableSlurMetadata } = pref;
if (enableSlurMetadata) {
let body = document.getElementsByTagName('body');
Expand All @@ -161,7 +159,6 @@ window.addEventListener(
else if (enableSlurReplacement) {
processPage(location.href);
}

},
false
);
163 changes: 0 additions & 163 deletions browser-extension/plugin/src/slur-metadata.js

This file was deleted.

Loading

0 comments on commit 93ca2b0

Please sign in to comment.