Install Brave Browser for 30 days and earn money - http://bit.ly/_brave_browser
SearchSearch CalendarCalendar GalleryGalleryAuction-PortalAuctionsMembersMembers StatisticsStats
get your RSS-Feed
Language/Sprache:  Admin  
 Login: ChatChat (0) new User-MapUser-Mapsend Passwordsend Password RegisterRegister

Forum Overview » Beta Cyberlord » JS » Skill and Learn - Encoding HTML in a inner div or textarea
Pages: (1) [1] »
Registration necessaryRegistration necessary
Skill and Learn - Encoding HTML in a inner div or textarea
privateloaderno Access no Access first Post cannot be deleted -> delete the whole Topic 
Group: User
Level:


Posts: 246
Joined: 9/20/2020
IP-Address: saved
offline


Percent-encoding, also known as URL-encoding.
%20 - Space, Etc ...
If is a link on a app and it will be used on url address.

HTML Entities - What for?
Encode the HTML and show in the textarea without exec. For example, if the HTML has JS without a HTML Entity the JS exec inside a inner div.

Variables
Use this if you are asking the user for input or use code that changes every time it is execute.

Error handling
Always use this to build an app and use console to see where the error is.

Possible ways to write the code.
', \', ", \"
This increases the options to keep all the code in the app and working.
Normally the user is limited to ', "

Base64 Options
You can encode Base64 images to keep the images inside the app.
You can use Base64 to encode text and you can encode a Base64 URI.

Base64 URI
This Base64 code is to be exec on url address and can contain HTML code in base64.
URI is limited to 64 characters.

CharCode
CharCode encodes the code to each Caracter.
The advanced way is to use CharCode to encode the HTML and alter the code to have variables inside the code.

What is the purpose?
Develop an advanced app with the option to interexchange between code methods.

What's next?
Not much, let AI in general to evolve and use ASM or any hard language to develop keygens for example.


4/28/2024 4:34:23 PM   
Registration necessaryRegistration necessary
Pages: (1) [1] »
all Times are GMT +1:00
Thread-Info
AccessModerators
Reading: all
Writing: all
Group: general
none
Forum Overview » Beta Cyberlord » JS » Skill and Learn - Encoding HTML in a inner div or textarea
Install Brave Browser for 30 days and earn money - http://bit.ly/_brave_browser

.: Script-Time: 0.203 || SQL-Queries: 6 || Active-Users: 4,146 :.
Powered by ASP-FastBoard HE v0.8, hosted by cyberlord.at