Skip to content

Commit 1d9efff

Browse files
authored
Merge pull request #62 from ssavi-ict/v1.0.5
[v1.0.5] Feature Implementation and Modification
2 parents a9b9f84 + e1aa50c commit 1d9efff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+703
-74
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Find all the change history listed below
2+
3+
**[08/05/2023]**
4+
- Improved User Interface.
5+
- Extension name updated to `CrackTech - Get LeetCode Company Tags` from `LeetCode Which Company`
6+
- Updated position of `Contribution` button.
7+
- `Complete List` button updated to `All Company` button.
8+
- Updated position of `All Company` button.
9+
- Added feedback form for collecting suggestions.
10+
- Added `Buy Me A Coffee` button for sponsoring.
11+
- Updated unnecessary gifs.
12+
- Minor bug fixed.
13+
14+
**[08/05/2023]**
15+
- **v1.0.4** Published extension on Google Chrome web store.
16+
- **v1.0.4** Published extension on Microsoft Edge extension store.
17+
- User Privacy Policy added.
18+
19+
**[28/03/2023]**
20+
- [*New Feature*] Searching feature added for filtering out problems specific to a company.
21+
- [*New Feature*] Implemented showing only a specific number of problems in the search page.
22+
- **v1.0.4** Published.
23+
- Updated for Mozilla firefox browser.
24+
- Updated for Google Chrome browser.
25+
- Updated this extension on Firefox Add On store.
26+
27+
**[28/01/2023]**
28+
- Published this extension on Firefox Add On store.
29+
- Updated github packages for Chrome browser.

PRIVACY POLICY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Privacy Policy
2-
### Last Updated On 09-May-2023
2+
### Last Updated On 03-June-2023
33
### Effective Date 09-May-2023
4-
This Privacy Policy describes the policies of **LeetCode Which Company, Dhaka, Dhaka 1205, Bangladesh, email: [email protected], phone: 01783332998** on the collection, use and disclosure of your information that we collect when you use our website ( https://github.com/ssavi-ict/LeetCode-Which-Company ). (the **“Service”**). By accessing or using the Service, you are consenting to the collection, use and disclosure of your information in accordance with this Privacy Policy. If you do not consent to the same, please do not access or use the Service.
4+
This Privacy Policy describes the policies of **CrackTech - Get LeetCode Company Tags, Dhaka, Dhaka 1205, Bangladesh, email: [email protected], phone: 01783332998** (previously LeetCode Which Company) on the collection, use and disclosure of your information that we collect when you use our website ( https://github.com/ssavi-ict/LeetCode-Which-Company ). (the **“Service”**). By accessing or using the Service, you are consenting to the collection, use and disclosure of your information in accordance with this Privacy Policy. If you do not consent to the same, please do not access or use the Service.
55

66
We may modify this Privacy Policy at any time without any prior notice to you and will post the revised Privacy Policy on the Service. The revised Policy will be effective 180 days from when the revised Policy is posted in the Service and your continued access or use of the Service after such time will constitute your acceptance of the revised Privacy Policy. We therefore recommend that you periodically review this page.
77

@@ -17,6 +17,6 @@
1717
Our Service may contain links to other websites that are not operated by us. This Privacy Policy does not address the privacy policy and other practices of any third parties, including any third party operating any website or service that may be accessible via a link on the Service. We strongly advise you to review the privacy policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
1818

1919
## Grievance / Data Protection Officer:
20-
If you have any queries or concerns about the processing of your information that is available with us, you may email our Grievance Officer at **LeetCode Which Company, Dhaka, email: [email protected]**. We will address your concerns in accordance with applicable law.
20+
If you have any queries or concerns about the processing of your information that is available with us, you may email our Grievance Officer at **CrackTech - Get LeetCode Company Tags, Dhaka, email: [email protected]**. We will address your concerns in accordance with applicable law.
2121

2222
Privacy Policy generated with [CookieYes](https://www.cookieyes.com/).

README.md

Lines changed: 37 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,72 @@
1-
# LeetCode Which Company
1+
# CrackTech - Get LeetCode Company Tags
22

3-
## This extension gives you the information of the companies who asked a certain question in the technical interview.
3+
## CrackTech (previously *LeetCode Which Company*) gives you the information of the companies who asked a certain question in the technical interview.
4+
---
45
Are you preparing for your technical interviews? Are you looking for the question asked by companies like Microsoft, Google, Meta, Apple, etc.? Then this extension gives you what you are looking for.
56

67
This extension is my effort to make your preparation one step better. If you are solving problems on Leetcode and you do not have a premium account to see company information then I am definite that this extension will give you the same experience to some extent. You can prepare for your dream companies and sharpen your DSA skill accordingly.
78

8-
However, since I am continuously updating company information solely, you might not get company information for every single problem as you can find in Leetcode premium. I collect company information from different sources on the internet and update it in my database. So in some cases, you might get some more company information than Leetcode provides.
9+
However, since I am continuously updating company information solely, you might not get company information for every single problem as you can find in Leetcode premium. I collect company information from different sources on the internet and update it in my database. So in some cases, you might get **some more company information** than Leetcode provides.
910

1011
Install this extension/add-on and boost your prep. Wishing you all the very best in your journey.
1112

13+
------
14+
## How this extension is different from existing others -
15+
16+
- Regular updates on company information.
17+
- Addition of new company information for problems almost everyday.
18+
- Company based problem list at a glance.
19+
- A pop-up window extension. No garbage, just the content you needed.
20+
- Flexible to LeetCode UI changes. So no downtime on your preparation.
21+
- No data collection.
22+
1223
------
1324
## How this extension works -
14-
Check following video - <br>
15-
<a href="http://www.youtube.com/watch?feature=player_embedded&v=hq_aiK_POY0" target="_blank">
16-
<img src="https://img.youtube.com/vi/hq_aiK_POY0/hqdefault.jpg" width="560" height="315" border="1" />
17-
</a>
25+
<center><br>
26+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=kELpCJ3Rc_Q" target="_blank">
27+
<img src="https://img.youtube.com/vi/kELpCJ3Rc_Q/hqdefault.jpg" width="560" height="315" border="1" />
28+
</a></center>
1829
<br><br>
1930

20-
### **1. Activate on Google Chrome browser**
31+
### **1. Chrome WebStore**
2132

22-
- ## Install the extension from Chrome Web Store - https://chrome.google.com/webstore/detail/leetcode-which-company/fmbicfmfmangckllfaomfkhdankgapfk
33+
- ## Available in Chrome Web Store - <a href = "https://chrome.google.com/webstore/detail/leetcode-which-company/fmbicfmfmangckllfaomfkhdankgapfk" target="_blank">![chrome webstore](/static/chrome-webstore.png)</a>
2334
----
2435
<br><br>
25-
### **2. Activate on Mozila Firefox browser**
2636

27-
- ## Install the add-on from firefox add-on store - https://addons.mozilla.org/en-US/firefox/addon/leetcode-for-company/
37+
### **2. Firefox AddOn Store**
38+
39+
- ## Available in firefox add-on store - <a href = "https://addons.mozilla.org/en-US/firefox/addon/leetcode-for-company/" target="_blank">![firefox add on store](/static/firefox-add-on-store.PNG)</a>
2840
---
2941
<br><br>
30-
### **3. Activate on Microsoft Edge browser**
3142

32-
- ## Install the extension from - https://microsoftedge.microsoft.com/addons/detail/leetcode-which-company/aknogcjbpnfdmmnlphmkpcldbepblapf
43+
### **3. MS Edge Add On Store**
44+
45+
- ## Available in MS Edge Add On Store - <a href = "https://microsoftedge.microsoft.com/addons/detail/leetcode-which-company/aknogcjbpnfdmmnlphmkpcldbepblapf" target="_blank">![Edge Add On Store](/static/ms-edge-store.PNG)</a>
3346

3447
---
3548
### **4. How to check which company asked a Problem ?**
3649
When solving a problem if you click on the ![icon](chrome/res/32.png) from the *extensions* / *add ons* list -
3750

38-
a. If the extension is able find the `Company Names` for the leetcode problem on the current window then it will show as follows -
39-
![found](chrome/res/showing_value_ui.png)
51+
- If the extension is able find the `Company Names` for the leetcode problem on the current window then it will show as follows -
52+
![found](/static/webfile/info_shows.PNG)
4053

41-
**💥 NEW FEATURE 💥**
42-
- Once you click on the **[Complete List]** button it will open up a page where you can see all the problems available in our storage with company names are listed as follows - <img src = "chrome/res/complete_list.png">
54+
- **💥 NEW FEATURE 💥**
55+
56+
- Once you click on the **[All Company]** button it will open up a page where you can see all the problems available in our storage with company names are listed as follows - ![all company](/static/webfile/complete_list.png)
4357

4458

45-
b. If the extension is not able to find the `Company Names` for the leetcode problem on the current window or if the current window is not a leetcode problem then it will show as follows -
46-
![not found](chrome/res/showing_not_found_ui.png)
59+
- If the extension is not able to find the `Company Names` for the leetcode problem on the current window or if the current window is not a leetcode problem then it will show a **Company information not found** message.
4760

4861

62+
- If the extension is clicked on a `non-leetcode` site then it will show a **Not a LeetCode site** message.
4963

50-
c. If the extension is clicked on a `non-leetcode` site then it will show as follows -
51-
![not found](chrome/res/showing_non_lc_ui.png)
5264

65+
-----
66+
# Feedback
67+
- Let me know how can I improve this extension. Give your <a href='https://forms.gle/cAW1jxYxUTwgUmMd9' target="_blank">![feedback](/static/feedback-button-file.png)</a>.
5368

69+
- If you find this work impactful for you and if you are interested enough, <a href="https://www.buymeacoffee.com/ssavi" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a> then.
5470
-----
5571
<br><br>
5672

@@ -59,8 +75,6 @@ I appreciate your intentions for making contribution in this repository.
5975

6076
This extension is a small effort for all the LeetCode **non-premium** users who wants to have the company informations while solving a leetcode problem.
6177

62-
~~I would request someone having **Chrome Developer** account contact *[email protected]* to publish this extension on chrome web store.~~
63-
6478
Currently we are accepting only the `Company Contributions` to enrich the company database. To contribute please follow the instructions of this issue [[CONTRIBUTE] Dear Contributors, Requesting Your Attention Regarding Company Contribution](https://github.com/ssavi-ict/LC-Which-Company/issues/4).
6579

6680

chrome/CrackTech-v1.0.5-chrome.zip

112 KB
Binary file not shown.
-1.36 MB
Binary file not shown.

chrome/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>LC Company | See the problems lists with company info</title>
5+
<title>CrackTech - Get LeetCode Company Tags</title>
66
<!-- <meta http-equiv="Content-Security-Policy"
77
content="script-src 'self' 'unsafe-inline';"
88
> -->
@@ -21,14 +21,14 @@
2121
<div class="intro-content-1" style="font-family: 'Segoe UI'; font-size: medium; text-align: center;">
2222
<h1>APPRECIATE</h1>
2323
Hello, Dear Leetcoder... <br>
24-
Thank you for using <a href = "https://github.com/ssavi-ict/LC-Which-Company" target="_blank">LeetCode-Which-Company</a>. <br>
24+
Thank you for using <a href = "https://github.com/ssavi-ict/LC-Which-Company" target="_blank">CrackTech - Get LeetCode Company Tags</a> (<i>Previously LeetCode-Which-Company</i>). <br>
2525
I appreciate your effort towards sharpening your DSA skills and making your path towards your dream company.
2626
This is a small effort to help you in your dream company specific preparation. Read the
2727
<a href = "https://sites.google.com/view/iamavik/leetcode-which-company-a-company-names-retrieval-extension" target="_blank">background</a>
2828
of working on this extension. Visit my writings on <a href="https://sites.google.com/view/iamavik/" target="_blank">Avik Sarkar | <i>Let Avik Connect You!</i></a>
2929
<br>
3030
Please do consider sharing this free extension among your fellow LeetCoders. I feel it will be helpful for them as well.
31-
To use <b>LeetCode-Which-Company</b> please read the instructions - <a href="https://github.com/ssavi-ict/LC-Which-Company#readme" target="_blank">Here</a>.
31+
To use <b>CrackTech - Get LeetCode Company Tags</b> (<i>Previously LeetCode-Which-Company</i>) please read the instructions - <a href="https://github.com/ssavi-ict/LC-Which-Company#readme" target="_blank">Here</a>.
3232

3333
</div>
3434
<hr>
@@ -51,7 +51,6 @@ <h1>CONTRIBUTIONS</h1>
5151
Currently I am accepting only the <b>Company Contributions</b> to enrich the company database.<br>
5252
To contribute please follow the instructions of this issue
5353
<a href='https://github.com/ssavi-ict/LC-Which-Company/issues/4' target="_blank">[CONTRIBUTE] Dear Contributors, Requesting Your Attention Regarding Company Contribution</a>.<br>
54-
This is a completely FREE extension. I would request someone having <b>Chrome Developer</b> account contact <a href="mailto:[email protected]">me</a> to publish this on chrome web store.
5554
</div>
5655
<hr>
5756
<div class = "outro-content" style="font-family: 'Segoe UI'; font-size: medium; text-align: center;">

chrome/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "LeetCode Which Company",
3-
"version": "1.0.4",
2+
"name": "CrackTech - Find LeetCode Company Tags",
3+
"version": "1.0.5",
44
"homepage_url":"https://github.com/ssavi-ict/LC-Which-Company",
5-
"description": "While solving a LeetCode problem this extension shows the name of companies who asked that problem.",
5+
"description": "An extension that can help candidate to prepare for a Company specific DSA interview.",
66
"manifest_version": 3,
77
"author": "Avik Sarkar",
88
"action":{
99
"default_popup": "popup.html",
10-
"default_title": "LeetCode Which Company"
10+
"default_title": "CrackTech - Find LeetCode Company Tags"
1111
},
1212
"icons": {
1313
"32": "res/32.png"

chrome/popup.html

Lines changed: 55 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,67 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>LC-Which Company</title>
4+
<title>CrackTech - Get LeetCode Company Tags</title>
55
<style>
6-
6+
table {
7+
width: 100%;
8+
table-layout: fixed;
9+
margin-left: auto;
10+
margin-right: auto;
11+
margin-top: 10px;
12+
}
13+
td {
14+
word-wrap: break-word;
15+
text-align: center;
16+
padding: 10px;
17+
border: 2px solid white;
18+
background-color: lightblue;
19+
}
20+
tr:first-child {
21+
background-color: lightblue;
22+
height: 25px;
23+
}
24+
td:first-child {
25+
font-weight: bold;
26+
font-size: 24px;
27+
}
28+
td a {
29+
display: block;
30+
font-size: 12px;
31+
font-weight: bold;
32+
text-decoration: none;
33+
color: black;
34+
}
35+
tr {
36+
margin-top: 10px;
37+
}
38+
.footer {
39+
text-align: center;
40+
font-size: 12px;
41+
color: gray;
42+
margin-top: 0px;
43+
}
744
</style>
845
</head>
946
<body>
10-
<div id = "main-content" class="newdiv" style="width: 400px; min-height: 250px; border: 1px solid; border-image: linear-gradient(to right, red,green, blue);border-image-slice: 1;">
47+
<div id = "main-content" class="newdiv" style="width: 400px; min-height: 250px; border: 1px solid; border-image: linear-gradient(to right, red,green, blue);border-image-slice: 1; font-size: small;">
1148

1249
</div>
13-
<h3 style="border: 1px dotted blue; padding: 5px; width: 127px;">
14-
<a style="text-decoration:none" href ="https://github.com/ssavi-ict/LC-Which-Company" target="_blank">
15-
Click To Contribute
16-
</a>
17-
</h3>
18-
<h3 style="float: right;margin-top: -45px; border: 1px dotted blue; padding:6px;">
19-
<a style="text-decoration:none" href ="index.html" target="_blank">
20-
Complete List
21-
</a>
22-
</h3>
50+
<div class="footer_content" id="footer_content_1">
51+
<table>
52+
<tr>
53+
<td colspan="3"><a href="index.html" target="_blank"><strong style="font-size: 15px;">All Company</strong></a></td>
54+
</tr>
55+
<tr>
56+
<td><a href="https://github.com/ssavi-ict/LeetCode-Which-Company/issues/4" target="_blank">Contribute</a></td>
57+
<td><a href="https://forms.gle/cAW1jxYxUTwgUmMd9" target="_blank">Feedback</a></td>
58+
<td><a href="https://www.buymeacoffee.com/ssavi" target="_blank">Buy Me A Coffee</a></td>
59+
</tr>
60+
</table>
61+
</div>
62+
<div class="footer">
63+
&copy; ssavi
64+
</div>
2365
</body>
2466
<script type="text/javascript" src="popup.js"></script>
2567
</html>

chrome/popup.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ async function leetcode_company(){
1717
document.write(`<li>${tabs[0].url}</li>`);
1818
document.write('</ul>');*/
1919
let url = tabs[0].url;
20+
if (url.startsWith("http://")) {
21+
url = url.replace("http://", "https://");
22+
}
23+
24+
if (url.startsWith("https://leetcode.cn/")) {
25+
url = url.replace("https://leetcode.cn/", "https://leetcode.com/");
26+
}
27+
2028
if (url.includes("leetcode")){
2129
const requestURL = 'https://raw.githubusercontent.com/ssavi-ict/LC-Which-Company/main/data/company_info.json';
2230
const request = new Request(requestURL);
@@ -49,14 +57,18 @@ async function leetcode_company(){
4957
else{
5058
let text = "<center><p>";
5159
text += "<p style='display: inline-block; border-radius: 2px; margin-bottom:5px; font-size:14px;'>&nbsp;<b>";
52-
text += "This problem is either not asked by any Company.<br><br>OR<br><br>The company information not yet updated.<br>Please bear with us.<br>We will update the information soon.<br><br>";
53-
text += "However, you can contribute if you have any information.<br>Click below button to Contribute.&nbsp; </b></p>&nbsp;";
60+
text += "Could not locate any Company information for this problem.<br><br>We are looking into collecting company information.<br>We will update soon once we have it.<br><br>";
5461
text += "</p></center>";
5562
document.getElementById("main-content").innerHTML = text;
5663
}
5764
}
5865
else{
59-
document.getElementById("main-content").innerHTML = `<center><img src="res/leetcode.gif" style="width: 400px;"></center>`;
66+
let text = "<center><p>";
67+
text += "<p style='display: inline-block; border-radius: 2px; margin-bottom:5px; font-size:14px;'>&nbsp;<b>";
68+
text += "This is a Non-LeetCode Website.";
69+
text += "</b></p>&nbsp;";
70+
text += "</p></center>";
71+
document.getElementById("main-content").innerHTML = text;
6072
}
6173
});
6274
}

chrome/res/128.png

13.1 KB
Loading

0 commit comments

Comments
 (0)