Skip to content

Commit 0c617f5

Browse files
committed
Small update
1 parent c514377 commit 0c617f5

File tree

4 files changed

+38
-17
lines changed

4 files changed

+38
-17
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# javascript-deobfuscator
2+
![screenshot](https://i.gyazo.com/cc25e38d9a2fb036a7be9415a0c1c51d.png)
3+
4+
JavaScript Deobfuscation Tool
25

36
## Project setup
47
```

public/index.html

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
8-
<title><%= htmlWebpackPlugin.options.title %></title>
9-
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.11.0/beautify.min.js"></script>
10-
</head>
11-
<body>
12-
<noscript>
13-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
14-
</noscript>
15-
<div id="app"></div>
16-
<!-- built files will be auto injected -->
17-
</body>
18-
</html>
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
8+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
9+
<title><%= htmlWebpackPlugin.options.title %></title>
10+
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.11.0/beautify.min.js"></script>
11+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162765588-3"></script>
12+
<script>
13+
window.dataLayer = window.dataLayer || [];
14+
function gtag() { dataLayer.push(arguments); }
15+
gtag('js', new Date());
16+
gtag('config', 'UA-162765588-3');
17+
</script>
18+
</head>
19+
20+
<body>
21+
<noscript>
22+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
23+
Please enable it to continue.</strong>
24+
</noscript>
25+
<div id="app"></div>
26+
<!-- built files will be auto injected -->
27+
</body>
28+
29+
</html>

src/components/Main.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
@click="copyToClipboard"
5858
></textarea>
5959
</div>
60+
61+
<div class="mb-4">
62+
<a href="https://github.com/LostMyCode/javascript-deobfuscator/issues" target="_blank">Feedback (GitHub)</a>
63+
</div>
6064
</div>
6165
</template>
6266

@@ -84,6 +88,7 @@ export default {
8488
methods: {
8589
decode() {
8690
this.running = true;
91+
this.outputCode = null;
8792
this.$refs.alert.hide();
8893
8994
const type = this.analizer.checkType(this.targetName, this.mainCode);

vue.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ module.exports = {
22
"transpileDependencies": [
33
],
44

5+
publicPath: './',
6+
57
css: {
68
extract: {
7-
filename: "style.css"
9+
filename: "./css/style.css"
810
}
911
}
1012
}

0 commit comments

Comments
 (0)