inherit
253000
0
Apr 16, 2023 9:09:04 GMT -8
Incognitus
13
February 2018
incognitus
|
Post by Incognitus on Feb 15, 2018 13:46:20 GMT -8
Any suggestions?
Thanks!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Feb 15, 2018 14:36:41 GMT -8
Depending on how a plugin is created the coding will not be directly viewable in the source anyway, as it will be loaded in from outside. Other than that all you can do is 'obfuscate' the code, making it more unreadable.. There are a few sites that can do this for you, but be aware than any plugin you submit to the library will have to be in it's native form, obfuscated code will be rejected.
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Feb 15, 2018 14:49:22 GMT -8
Adding to the above, even if you obfuscate your code it has to be on the page in order for it to run. There's no way to run code in a user's browser without actually sending that code to the user. That's the nature of how web pages operate.
No matter how a page loads its HTML or scripts a user is going to have the ability to see it one way or another whether that be through viewing the source of the page, finding the Javascript file that runs a specific plugin in the source of the page, or through inspecting the Network tab of their browser's console.
|
|
inherit
253000
0
Apr 16, 2023 9:09:04 GMT -8
Incognitus
13
February 2018
incognitus
|
Post by Incognitus on Jun 8, 2018 10:56:05 GMT -8
Here is a sort of example of what I mean, though a slight abstraction: View Source at this LinkNote how you don't just see the guts of the forum spilling out in the Source View, but rather it's a bunch of references and frames and whatnot. Do any plugins or scripts offer something like this?
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Jun 8, 2018 11:08:19 GMT -8
You can view the source of those frames, though, which will result in you being able to see the source code of the embedded pages. Chrome even has an option to do this in the context menu that appears when right-clicking each frame, while in other browsers you could navigate to the URLs those iframes are pointing to and view the source there. dev.prbrds.com/b/o/jJfKIXFnxBLptqDoetJM.pngProBoards forums are not able to be placed in iframes, and placing a page in an iframe does not prevent a user from viewing its source code. As stated previously the source code has to be visible to the user because that's what's telling the browser how to construct the page.
|
|
inherit
253000
0
Apr 16, 2023 9:09:04 GMT -8
Incognitus
13
February 2018
incognitus
|
Post by Incognitus on Jun 11, 2018 9:15:09 GMT -8
You can view the source of those frames, though, which will result in you being able to see the source code of the embedded pages. Chrome even has an option to do this in the context menu that appears when right-clicking each frame, while in other browsers you could navigate to the URLs those iframes are pointing to and view the source there. dev.prbrds.com/b/o/jJfKIXFnxBLptqDoetJM.pngProBoards forums are not able to be placed in iframes, and placing a page in an iframe does not prevent a user from viewing its source code. As stated previously the source code has to be visible to the user because that's what's telling the browser how to construct the page.
Fair enough, thanks! (and that is a great explanation of the role of Source Code too, by the way)
|
|