Skip to content

Commit

Permalink
chore: 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumm1t committed Nov 21, 2020
1 parent 7abb357 commit a70b821
Show file tree
Hide file tree
Showing 22 changed files with 568 additions and 46 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["@babel/preset-env", "@babel/preset-typescript"]
"presets": ["@babel/preset-env", "@babel/preset-typescript"],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules
.idea
node_modules
12 changes: 12 additions & 0 deletions .idea/anti-testportal.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

160 changes: 160 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Minimalistic Chrome extension - bypass for blur check on testportal.pl(net).

🈹🐀💥 Changing pages will not display a warning about leaving the page.

~~After the time for answering the question (or completing the test) has elapsed, nothing will happen - you can still answer the questions!~~
This feature currently doesn't work

[![forthebadge](https://forthebadge.com/images/badges/made-with-typescript.svg)](https://forthebadge.com)

Join our Discord! https://discord.gg/HPecVXeQrF

[<img width="250" src="https://i.imgur.com/ZeD4O9a.png" alt="anti-testportal">](https://i.imgur.com/ZeD4O9a.png)

## Usage

[Unofficial extension in Chrome web store](https://chrome.google.com/webstore/detail/anti-testportal/dpgfbfopkfdfmlfdpmoanamopdnibhkl)
Expand Down
1 change: 1 addition & 0 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Anti Testportal",
"description": "Bypass for blur check and time limit on testportal.pl",
"version": "3.0.1",
"description": "Bypass for blur check on testportal.pl",
"version": "4.0.0",
"manifest_version": 2,
"content_scripts": [
{
Expand All @@ -11,10 +11,17 @@
"https://teams.microsoft.com/*",
"https://*.teams.microsoft.com/*"
],
"js": ["script.js"],
"js": ["main.js"],
"all_frames": true
}
],
"web_accessible_resources": ["popup/overlay.js"],
"browser_action":{
"default_popup": "popup/index.html"
},
"permissions": [
"storage"
],
"icons": {
"16": "icons/antitestportal16.png",
"32": "icons/antitestportal32.png",
Expand Down
21 changes: 21 additions & 0 deletions dist/popup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>anti-testportal</title>
<meta charset="UTF-8">

<link rel="stylesheet" href="./overlay.css">
</head>

<body>
<a href="https://github.com/Lumm1t/anti-testportal" target="_blank" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>

<h1>anti-testportal</h1>

<p id="update"></p>

<a href="https://discord.gg/HPecVXeQrF" target="_blank">Discord</a>

<script src="./overlay.js"></script>
</body>
</html>
51 changes: 51 additions & 0 deletions dist/popup/overlay.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
body {
height: 12em;
margin-top: 0;
font-size: .7em;
width: 25em;
display: flex;
flex-direction: column;
align-items: center;
background-color: rgb(54, 54, 54);
}

h1 {
font-size: 2em;
margin-top: .5em;
margin-bottom: 1em;
color: white;
}

#update {
color: white;
margin-right: auto;
margin-left: auto;
margin-top: .2em;
}

a {
margin-top: auto;
font-size: 1.5em;
color: white;
text-decoration: none;
border-bottom: .1em solid transparent;
transition: border-bottom ease-in-out .5s;
padding-bottom: -.3em;
}

a:link {
text-decoration: none;
}

a:visited {
text-decoration: none;
}

a:hover {
text-decoration: none;
border-bottom: .1em solid white;
}

a:active {
text-decoration: none;
}
1 change: 1 addition & 0 deletions dist/popup/overlay.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a70b821

Please sign in to comment.