Skip to content

Commit

Permalink
show pointer on Quick Blacklist, form
Browse files Browse the repository at this point in the history
  • Loading branch information
CennoxX committed Dec 21, 2023
1 parent 3dc509c commit ce016ba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 5 additions & 3 deletions extension/assets/popup.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../js/popup.js"></script>
<style>
body {
margin: 0;
Expand Down Expand Up @@ -34,11 +35,13 @@
background: #ddd;
margin: 0;
}

#quick-blacklist {
cursor: pointer;
}
.disabled {
background: #9f9;
pointer-events: none;
cursor: default;
cursor: default !important;
}

/* Dark mode */
Expand Down Expand Up @@ -77,5 +80,4 @@
<a id="quick-blacklist">Quick Blacklist</a>
<a href="preferences.html">Preferences</a>
</body>
<script type="text/javascript" src="../js/popup.js"></script>
</html>
5 changes: 2 additions & 3 deletions extension/assets/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="semantic.min.css">
<link rel="stylesheet" href="notie.css">
<script type="text/javascript" src="../js/lib/notie.min.js"></script>
<script type="text/javascript" src="../js/preferences.js"></script>
</head>
<body>
<h1>Preferences</h1>
Expand All @@ -28,8 +30,5 @@ <h2>Falcon History</h2>

<h2>Danger Zone!</h2>
<button class="ui red button" id="clear">Clear All Data</button>

<script type="text/javascript" src="../js/lib/notie.min.js"></script>
<script type="text/javascript" src="../js/preferences.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion extension/js/popup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.addEventListener('click',function(e){
if(e.target.href!==undefined && e.target.href.length > 0 && !e.target.href.startsWith("https")){
chrome.tabs.create({url:e.target.href});
window.close();
window.close();
}
});

Expand Down

0 comments on commit ce016ba

Please sign in to comment.