Title: mangled obfuscation breaks project while hexadecimal one works just fine · Issue #262 · javascript-obfuscator/javascript-obfuscator · GitHub
Open Graph Title: mangled obfuscation breaks project while hexadecimal one works just fine · Issue #262 · javascript-obfuscator/javascript-obfuscator
X Title: mangled obfuscation breaks project while hexadecimal one works just fine · Issue #262 · javascript-obfuscator/javascript-obfuscator
Description: I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file. Everything works just fine with hexadecimal generator but if I switch to mangled the projects starts to throw errors at random place...
Open Graph Description: I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file. Everything works just fine with hexadecimal generator but if I switch to mangled the project...
X Description: I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file. Everything works just fine with hexadecimal generator but if I switch to mangled the pro...
Opengraph URL: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mangled obfuscation breaks project while hexadecimal one works just fine","articleBody":"I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file. \r\n\r\nEverything works just fine with **hexadecimal** generator but if I switch to **mangled** the projects starts to throw errors at random places like `\"can't execute 'sdf' of undefined\"` or `\"kjh is not a function\"` (using `seed: 0` and `deadCodeInjection:true`)\r\n\r\nJust to give you some glue, those errors might be connected with using jquery in the same file but again, hexadecimal obfuscation works just fine.\r\nIt also makes difference if I switch on or off disableConsoleOutput option: with `disableConsoleOutput:true` and removing `deadCodeInjection` everything seems to work, while `(disableConsoleOutput:false or deadCodeInjection:true) + mangled` breaks the project.\r\n\r\nI can't paste any code unfortunately but I'll leave the description here to bring your attention - maybe it will help to improve the great library even further!\r\n\r\n","author":{"url":"https://github.com/arthabus","@type":"Person","name":"arthabus"},"datePublished":"2018-05-15T14:53:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/262/javascript-obfuscator/issues/262"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0ba33ed6-5d89-2069-7d8e-ca953c6cea41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5C6:E4D2D:36B59B:4C973B:6A62F512 |
| html-safe-nonce | 6236a3ccc2d1699a594dbbd3fefc1ec43eb54b7014d9a74a64e76a868056c91b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM2OkU0RDJEOjM2QjU5Qjo0Qzk3M0I6NkE2MkY1MTIiLCJ2aXNpdG9yX2lkIjoiMjk5OTIyNzA2MjQ1NTMwMTM5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dc0e776feeb9674d9643277e972dc734b41615ec1591ae6e47d4ca647a7982cc |
| hovercard-subject-tag | issue:323254374 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javascript-obfuscator/javascript-obfuscator/262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/778a7e200e8918d88edebed2e511a54b06fd6e65090a1f71c3cb0801d763a7e3/javascript-obfuscator/javascript-obfuscator/issues/262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/778a7e200e8918d88edebed2e511a54b06fd6e65090a1f71c3cb0801d763a7e3/javascript-obfuscator/javascript-obfuscator/issues/262 |
| og:image:alt | I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file. Everything works just fine with hexadecimal generator but if I switch to mangled the project... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arthabus |
| hostname | github.com |
| expected-hostname | github.com |
| None | b415018e190e73858133ddcaa36acce7b3f3572fe54dda84bd3b21a6ec714c30 |
| turbo-cache-control | no-preview |
| go-import | github.com/javascript-obfuscator/javascript-obfuscator git https://github.com/javascript-obfuscator/javascript-obfuscator.git |
| octolytics-dimension-user_id | 23015672 |
| octolytics-dimension-user_login | javascript-obfuscator |
| octolytics-dimension-repository_id | 58360147 |
| octolytics-dimension-repository_nwo | javascript-obfuscator/javascript-obfuscator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58360147 |
| octolytics-dimension-repository_network_root_nwo | javascript-obfuscator/javascript-obfuscator |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22f98521e99f504294ab0812b66104d50eb75a70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width