#javascript replace ()
Explore tagged Tumblr posts
wardensantoineandevka · 4 months ago
Text
I've successfully learned how to make a branching dialogue tree in Ink. It is probably not the most efficient way to do it, and I still have to properly learn how this language handles switches, variables, and other fancy under the hood things, but I can do simple variables and conditions now, so that's good.
Very excited for what I learn to do when I actually properly read the documentation and study examples.
7 notes · View notes
gyoukuken · 1 year ago
Text
hhhhhh filling my queue
0 notes
worldgoit · 2 years ago
Text
Window.location: Enhancing Web Navigation and URL Manipulation
Tumblr media
1. Introduction
In the realm of web development, achieving smooth navigation and effective URL manipulation is crucial for delivering a seamless user experience. Among the many tools available to web developers, window.location stands out as a powerful and versatile feature. In this article, we will explore the ins and outs of window.location, understanding its properties, methods, and best practices to employ it efficiently.
2. Understanding window.location
At its core, window.location is a JavaScript object that represents the current URL of the web page. It allows developers to access various components of the URL and perform actions related to navigation and history.
3. Navigating with window.location
- Changing the URL with window.location.href. - Redirecting users with window.location.replace(). - Reloading the page with window.location.reload().
4. Navigating with window.location
One of the fundamental tasks of window.location is to enable navigation. By modifying the window.location.href property, developers can easily change the URL, effectively redirecting users to different pages. Additionally, we will learn how to use window.location.replace() to perform a redirection without adding a new entry to the browser's history and how to reload the page using window.location.reload().
5. Extracting Information from window.location
Parsing the URL's components can be essential for capturing specific data from the address bar. We'll see how to access individual parts of the URL, such as the protocol, hostname, pathname, and query parameters, using the properties of window.location. This can be particularly useful when building dynamic web applications that respond to varying URLs.
6. Modifying History with window.location
Controlling the browser's history can be vital in certain scenarios, like creating custom back buttons or implementing complex navigation patterns. We'll delve into how window.location can be used to manipulate the browser history, allowing developers to navigate users backward or forward within their browsing session.
7. Security Considerations
While window.location provides valuable functionality, it also comes with certain security implications. We will explore potential risks and vulnerabilities associated with its use, such as potential open-door for phishing attacks or misuse by malicious actors. Implementing best practices will help minimize these risks.
8. Handling Errors and Edge Cases
As with any web development tool, window.location is subject to potential errors and unexpected scenarios. We'll discuss how to handle invalid URLs, unsupported features in various browsers, and other edge cases that developers may encounter while working with window.location.
9. Tips for Efficient URL Manipulation
Performing page reloads or URL changes can impact performance and user experience. We'll share valuable tips for optimizing the use of window.location, ensuring that URL manipulation occurs efficiently and without unnecessary page reloads, particularly crucial for single-page applications (SPAs).
10. The Future of window.location
As technology and web standards continue to evolve, we'll explore the potential future enhancements of window.location. Staying abreast of upcoming changes can be valuable for developers looking to adopt the latest and most efficient techniques. location API - Mozila https://developer.mozilla.org/en-US/docs/Web/API/Location/reload
11. Conclusion
In conclusion, window.location serves as an indispensable tool for web developers, offering a range of capabilities to enhance web navigation and URL manipulation. By leveraging its properties and methods responsibly, developers can create user-friendly and dynamic web applications that cater to their users' needs effectively.
12. FAQs
- What is the purpose of window.location in JavaScript? window.location in JavaScript represents the URL of the current page and allows developers to manipulate the URL, perform page redirects, and access various components of the URL. - How can I change the URL without causing a page reload? You can change the URL without causing a page reload by modifying the window.location.href property or using window.location.replace() for a redirection without adding a new entry to the browser's history. - Is it safe to manipulate the browser history with window.location? While manipulating the browser history with window.location can be useful, it's essential to consider potential security risks, such as opening opportunities for phishing attacks. Following best practices and validation can help mitigate these risks. - Can I extract specific parts of the URL using window.location? Yes, you can extract specific parts of the URL, such as the protocol, hostname, pathname, and query parameters, using the properties of window.location. - Are there any limitations to using window.location in different browsers? Some older browsers may have limited support for certain features of window.location. However, with modern browsers, the majority of its functionality is well-supported. Read the full article
0 notes
speaksleazy · 1 year ago
Text
Tumblr media
♬♪ .. living,retro computer id pack﹙for anonymous ﹚♯ predominantly androgynous.
Tumblr media
names ⇢ lovebytes,calware,malakai,halware,atari,AM,wheatley,chip,malwaria,micah,mickey,hal,zip,zap,tessa,tecca,emoticon﹙emoticonnie﹚,bailey,sean,cursor,pascal,cache,java﹙javascript﹚,data,click﹙clicky,clickie,clicker﹚,myspace,wirehead,whirr,solitaire,paige,peyton﹙payton﹚,electronica,talia﹙digitalia﹚,fax,circe,programatha,juno,will
pronouns ⇢ it its,bit byte,beep boop,click clack,key keys keyboard,whirr whirrs,pix pixel pixelated,CPU CPUs,compute computer,route router,win windows,sentient sentience,wire wires wired,err error,pro program programmed,soft software,hard hardware,cir circuit circuitboard,click scroll,404 404s,404 page not found,^_^ ^_^s,:-) :-D,o_o >_>,🔌 🔌s,💻 💻s,🖥 🖥s,⌨ ⌨s,🖱 🖱s,💽 💽s,💾 💾s,💿 💿s,📀 📀s,🔇 🔊
titles ⇢ the man﹙woman,girl,boy,gal,guy,being,thing﹚in the machine,the one behind your screen﹙The one behind your LCD screen﹚,_ who is running on flash﹙can be replaced with any software﹚,_ technological form,_ wires,__ with a circuitboard in place of _ brain,ms. paint,__ plugged into the wall,your mechanical﹙technological,electronic﹚best friend
ids ⇢ Aiwarix,Vietechxic,Digitalbeing,Technobodiment,8bitgender,Technoperspeque,Girlvirtual,Nonbinaryvirtual,Boyvirtual,Virualors,Oldcomputic,Win10gender,Byteic,Aithing,Dynirusic,Digirealgender
users ⇢ Lovebytez,﹙name﹚-﹙4-digit number﹚,0100000101001101,7653r70¹,hi-040405,computers-cant-byte,machinery-and-me,35784m5¹,circuitboard4brains,malwaria,b-i-n-a-r-y,c-i-r-c-u-i-t,https-﹙name﹚-dot-com,thinking-in-1s-and-0s,1s-and-0s-and-1s,benevolentware,wifiwifey,pluginbestfriend,pluginplaything
¹ Combining random numbers and letters can be used to make more usernames like this.
Tumblr media
1K notes · View notes
syrupyy · 5 months ago
Text
end of an era (10/27/2021-01/07/2025)
Tumblr media
cookie run fans,
it is with sadness in my typing that I announce the end of the original (pre-Comic Studio) Cookie Comic Creator. the hosting company killed it b/c the debit card that was paying for it expired, and I completely did not see the payment failed notice in the flood of spam emails they send me every month - I have so much more I could say about why this company sucks, but point is I do not have all the files as they were before, and it would be too much hassle to bring it back when the site has been all but replaced with Cookie Run Comic Studio
if I don't forget to (and can find it all), I will add the last few changes I made to its code to github.com/syrupyy/cook... but, as it hasn't gotten new cookies or updates in a year+ anyways I just redirected it to Cookie Run Comic Studio, which is better and you really should be using it anyways...
thank you all for making comics with the stupid site I made for my friends to celebrate crob's 5th anniversary for so long HAHA. I know some people (in South Korea and China especially) still prefer CCC over CRCS, but the host has basically forced my hand here - and it's for the best IMO! we've put so much work into Comic Studio over the past two and a half years, and if you haven't tried it I highly suggest you do :')
also, it's worth mentioning that Comic Studio is doing great and is not going anywhere for as long as it pays my (and my friend and helper, illbloo's) bills. I keep daily backups of all its content, and HyperHimes has been keeping the Cookie Run studio up to date for me, so rest assured this will not affect anything on that front!!! we're also working on Scene Studio, and a whole bunch of other projects under a company I recently started - expect to hear more about that soon. for now though, we mourn the site that put us on the map; the idea that started it all with 600 lines of hastily assembled JavaScript.
(note: the official tag for posting comics on Tumblr will still be #cookie comic creator. this is for legacy reasons, but I also think it's cool to keep the original name going in spirit - you can always just set the panel size to Classic and pretend nothing has changed, after all!!)
so long and thanks for the unicorns, syrupyy
87 notes · View notes
izicodes · 1 year ago
Text
Convert HTML to Image: A Step-by-Step Guide ✨
Tumblr media
Do you want to turn some HTML code you've made that's on your website and have a way to convert it into an image for you to save?
Well, look no further! I too wanted to do the same thing but funny enough, there weren't any straightforward tutorials out there that could show you how! After hours of searching, I finally discovered the solution~!
This is an old tutorial I made 🐼
Tumblr media
💛 Set your environment
Before we dive into the conversion process, I'll assume you already have your HTML code ready. What you want to learn is how to turn it into an image file. You should have a good grasp of HTML and JavaScript. For this tutorial, we'll use the following HTML code example:
Tumblr media
We won't include the CSS code, as it doesn't affect this tutorial. The JavaScript file (script.js) at the bottom of the body element is where we'll add the functionality for the conversion.
Your page should resemble the following:
Tumblr media
As you can see, the "Click me" button will handle the conversion. We aim to convert everything within the div.info-div into an image.
💛 Using the html2canvas JavaScript Library
The html2canvas library allows you to take screenshots of webpages and target specific elements on a screen. Here are the steps to include the library in your project:
The steps to put the library in your project:
Visit the html2canvas website for more information.
Copy the CDN link from here
Tumblr media
and include it in a script tag in your project's head tag in the HTML file:
Tumblr media
That's it for including the library on the HTML side. Now, let's move on to the JavaScript code.
💛 JavaScript Functionality
Here's the JavaScript code to handle the conversion:
Tumblr media
In this code, I want to turn the whole div.info-div into an image, I put it into a variable in const div = document.querySelector(".info-div");.
I also put the button into a variable in const button = document.querySelector("button");
I added a click event listener to the button so when the user clicks the button, it will follow the code inside of the event listener!
You can find similar code like this in the documentation of the html2canvas library:
Tumblr media
What is happening here is:
We add the div (or what the element we want to take an image of) into the html2canvas([element]).then((canvas)
Added the image file type url to a variable = const imageDataURL = canvas.toDataURL("image/png"); - You can replace the png to other image file types such as jpg, jpeg etc
Created an anchor/link tag, added the href attribute to imageDataURL
The download attribute is where we will give the default name to the image file, I added "dog.png"
Perform the click() function to the anchor tag so it starts to download the image we created
And that's it!
💛 The End
And that's it! You've successfully learned how to turn your HTML into an image. It's a great way to save and share your web content in a unique format.
Tumblr media
If you have any questions or need further clarification, please comfortable to ask. Enjoy converting your HTML into images! 💖🐼
Tumblr media
155 notes · View notes
Text
Late October 2023 YouTube Unfucker
First off, here's the typical code - it still works:
youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false) youtube.com##+js(set, Object.prototype.adBlocksFound, 0) youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, []) youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true) www.youtube.com##ytd-enforcement-message-view-model www.youtube.com##tp-yt-iron-overlay-backdrop
The most important parts are the last two lines.
Second, have you been locked out of videos? Did YouTube give you this window:
Tumblr media
and then replace your videos with a black rectangle?
Step 1: Disable pop-ups with the uBlock Origin menu - this will remove the black rectangle. Your videos will be revealed as unplayable 0 second videos - this can be fixed with
Step 2: Someone in a Discord I'm in dropped the simple hotfix of clearing your cache and deleting your YouTube and Google cookies - et voila, your videos work again!
While I don't know if it'll help, I would also recommend disabling your Watch History. Definite thing to do: DO NOT STACK AD BLOCKERS.
While uBO devs have to constantly reprogram their intended fix as YouTube updates to fight them 2+ times daily, they were absolutely correct in that using ad blockers on top of uBlock Origin actually helps YouTube detect them - it's safer and easier with just uBO at the moment.
Whenever uBO's intended fixes stop working (every day, for multiple hours a day), you'll find that your videos will randomly freeze despite these settings, and you'll be unable to scroll. For some reason, making the video fullscreen disables YT's javascript, and allows you to watch the video and scroll normally again.
151 notes · View notes
blackoutsys · 7 months ago
Text
☽ ✦ Welcome ✦ ☾
Tumblr media
Helloo. We're the Blackout System.
☉ You may call us Astra
☉ Collectively we use They/Them pronouns.
☉ Bodily 20
☉ Black, AuDHD
☉ Generally we identify with Alterhumanity, though some of us may not.
☉ We're fine with interacting with others, and accept DMs and Asks about things. However, if you are under 16-17, we will likely block you if you attempt to befriend us, interacting with anyone below that makes us very uncomfortable. Otherwise we don't care if you interact with our posts, and it's a 50/50 on if we block you from following.
Tumblr media
BYF...
✦ We don't participate in syscourse. We're not here to get into arguments, and would rather just share our own experiences.
✦ We don't follow back/like posts. This blog is a sideblog to our main, which we'd like to keep mostly private. We'll occasionally reblog posts here, however.
✦ We liberally use our block button. Most of the time it's not because someone did something "problematic", and is generally just us not vibing with their energy or thinking someone is generally unpleasant. Though we do block people who are genuinely problematic, we're just not gonna say shit about it here lmao.
✦ We may use terms we've coined ourselves to describe our own system online.
✦ We will not share our headmates if they're not the one posting. Do not ask, you won't receive a headcount nor names. All names are replaced with an emoji and a letter, at most, if they feel like signing off.
✦ Do not ask for our Simply Plural/Octocon, or any other social medias.
✦ We are pre-diagnosis, if that is an issue for you. While we're not seeking to get it on our medical records, we are also in the beginning stages of working with a trauma specialist to hopefully get a second opinion. This also might not be possible for many years as we live in an incredibly conservative state with few mental health opportunities.
Tumblr media
INTERESTS AND HOBBIES...
☄ HOBBIES ☄
Digital Art, Animation, Webdev [HTML/CSS/Javascript], Gamedev [Godot], Embroidery/Sewing, Music Transcription, Tarot
☄ GAMES ☄
Secret Histories [Cultist Simulator/Book Of Hours/The Lady Afterwards], Who's Lila, Warframe, FFXIV, Fields of Mistria, Risk of Rain 2, Splatoon 3, Hollow Knight, Rain World, VTM: Bloodhunt, Valheim, Terraria, Minecraft, Don't Starve Together, Dr. Robotnik's Ring Racers
☄ DIGITAL MEDIA ☄
Chainmail Chasers, Vita Carnis, Midwest Angelica, Interloper ARG, Emesis Blue
☄ MOVIES/SHOWS ☄
Arcane [Only seen 1st season], The Owl House, Spiderverse, Delicious In Dungeon, Frieren, The Apothecary Diaries
☄ BOOKS ☄
Blood Debts/Blood Justice, The Poisons We Drink
Tumblr media
26 notes · View notes
kremlin · 1 year ago
Text
- tumblr has removed the ability to directly upload a video to a reblog (puzzling as to what this accomplished for them)
- must embed external video via html post
- html5 <video>: no
- <embed>: no
- fine what does youtube give you?
- fucking <iframe> wtf, but it works
- replace source with url to self-hosted video: no
- what the fuck maybe it only takes exactly the same container/codec as youtube
- ffmpeg (ffmpreg lol) matched codec: NO
- fine i’ll just fake the fucking headers: nope it’s tls-only
- FINE ILL JUST KILL MYSELF UPLOAD IT TO FUCKING YOUTUBE
- result is a “youtube short”, gay, how to change
- “vertical videos under 60 seconds are always youtube shorts”
- equip dynamite vest
- try one more thing that works for a direct embed from my domain
- works
- wtf
- try above with<script> javascript instead of <video> mp4
- also works
- use tumblr.com js url that you can still upload for extremely outdated theme editor
- alert(session_token)
- yep that’s my session key alright
- alt account following blog loads dashboard and my post
- YEP THATS ITS SESSION KEY ALRIGHT
some of you guys are alright. don’t allow any other javascript than what’s loaded for a safe text post at school tomorrow.
76 notes · View notes
ms-demeanor · 1 year ago
Note
I'm just curious lol why are you learning python? (a current python/javascript learner)
I am functionally a mechanic for computers and I've been hanging around the tech scene long enough that I might as well get a bit more involved than just keeping hardware running. My nutrition studies kind of fell through and a CS/IT degree is pretty easily within reach for me and the only programming classes my current school offers are C#, Python, and Javascript (and object oriented programming, which i am told is a decent replacement for javascript if i don't want to take both classes, and i don't).
So I'm just trying to get through the classes that my school has before I go to another community college and get an AS in computer security and windows administration to wave in front of my boss while asking for a raise.
But also it seems genuinely useful and there are weird ass research projects I'm working on that will be MUCH easier if I throw python at them than if I do them manually so I may as well try to figure out enough python to reduce the labor of being fucking weird online.
117 notes · View notes
correlatedcontents · 2 months ago
Note
Hi! I played your game 'my father's long, long legs' today and I thought it was great! I'm exploring twine currently for my master's dissertation and i was wondering if you could explain how you got the flashlight effect with the mouse? it was a gorgeous touch and made the whole thing super atmospheric. Thanks :)
thanks so much for playing! i'm glad you liked it. the flashlight effect is javascript: the player's cursor is replaced with a static image of a flashlight beam and the background of the window is set to black, so the overall effect is of a flashlight tracking across a dark space. then the game's text and the concluding images are also black (the legs are outline only, a transparent png), so when the cursor moves over them the flashlight image seems to "illuminate" them (when in fact it is just putting a white background behind them to make them visible). good luck with the dissertation!
8 notes · View notes
mxrp-official-steve · 2 months ago
Text
Your May 2nd PARPdate: On time for once holy shit edition
Tumblr media
Oh man look at that, the DB2 code can now show you where you fucked up the BBCode in your posts! Neat!
Ever since CherAmi launched, Hex has been directing more and more energy towards the upcoming DB2 chat-test alpha. And TODAY! We're gonna show off what they've gotten done!
Quirk system expansion.
Tumblr media
(Hex is so much smarter than me so I'm just gonna let images roll for these)
Tumblr media
"you could also have part of your suffix/prefix effected by quirks by simply defining the part you want quirked first, and then the part you want unquirked after
or place them literally anywhere in the list, to only be effected by specific quirks which come after it i had another plan too that i didnt quite manage to get implemented in rustblood but it's still in my mind
sandboxed javascript or lua for complete and total control over quirking for your character for very complex quirks that the rest of the system does not allow for"
We're currently toying with USER PROGRAMMABLE QUIRKS for maximum possible usecases. I could say more, but I literally don't understand anything Hex said so here's another screenshot.
Tumblr media Tumblr media Tumblr media Tumblr media
(Shoutouts to a bunch of server regulars for being in these screenies!)
There's probably someone smarter than me that knows how to explain this. Ideally, this new system will provide users who know What This Shit Is to do a ton of fun new stuff with character quirks without creating too much confusing newfangledness on the end of your average user (in fact, your average user might never have to touch this system at all.) Fun stuff! We've even got it rigged to stop you mfs from running a Very Funny Quirk that recurses in on itself and explodes DBs brain.
Also random replacements / scramble are in so all your characters with Bottom! Modifiers can now keysmash with the touch of a button!
Tumblr media
All of this is rough raw code and test fields right now, so what you're SEEING seeing isn't final, but we're SUPER glad to have been able to cart this out in front of you after the CherAmi beta launch stalled things out for a while!
7 notes · View notes
nonobadcat · 2 years ago
Text
Tumblr media
For @oklolnoty
Down the Rabbit Hole - Five Chapters - 20k words - Yandere Shigaraki Tomura x Rabbit Quirk Female Reader
Chapter Navigation: 1|2|3|4|5 🐇 Ao3 Mirror
Tumblr media
Whole story TW: Noncon, yandere with kidnapping, severe quirk based discrimination, binge drinking, canon typical threats of violence (reader directed), canon typical death (nonreader directed), oral (give/receive), PnV (doggie), breeding, and expensive designer clothing everywhere.
Rating: 18+ readers only - Minors DNI
Tumblr media
Chapter 2: Nomination - 3.4k words
TW: Drinking, quirk discrimination, Incel Tomura being a massive jerk for "reasons", author makes a Javascript joke but only understands html Special thanks to @krystalwithakay for laughing at the aforementioned joke and programming the much more complicated Javascript joke yet to come.
Tumblr media
“You have a nomination.”
Plastering the bandage to the back of your bleeding heel, you slipped your pumps back on. Your manager stared down her beak at you. You blinked at her before rising to your full height.
“A nomination? I thought Azuma-san canceled our Thursdays permanently after that fight with his wife?”
“It’s another client.” Blue plumage fluffed as she whipped her fan open. “An important client,” she stressed, narrowing her amber eyes.
“So this is the ‘best bunny behavior’ speech?” Tossing a floppy ear back behind your neck, you pitched your voice an octave higher. “Okay! I’m super duper excited to meet him, Mama-san.”
The fan snapped shut. She cocked her head and beckoned you towards the front desk. You tailed her, watching embroidered folds of black taffeta sway back and forth with every calculated swing of her Coke bottle hips. With all the grace of a prima ballerina, she dipped below the countertop and headed for the towel warmer. “You’ve met him before. Briefly. Last Friday.”
Your eyes rolled to the creamy plaster ceiling as you wracked your brain. “But Usagi is back, right? Wouldn’t Tano-san rather have her?”
“It’s not Tano-san.”
A cold sweat broke on your neck as memories of a tooth-and-nail conversation slammed into you like a loose brick. You staggered under the weighty realization. “Wait… you don’t mean—”
Long tongs placed cozy terry cloth on a small silver platter. Leaning over the counter, she snatched your wrist and foisted the tray into your grip. “I don’t know what you did, but you’re the first hostess he’s asked for by name.” Her glare could cut iron. “His sponsor is very well connected and I’m running out of staff. Do not fail me.”
“Yes, Mama-san,” you agreed, shrinking under her heavy expectations.
Just past the ratty leaves of the money tree, slouched in the center of the entryway, the slender-man of Nyanko’s nightmares looked just as bored as you remembered. Poor posture ruined the flawless lines of his expensive wool suit. Dull eyes and a flat expression looked better suited to a mummy than a man of twenty something. His dry, shrunken lips only enhanced the impression. However, the moment you slid into view, he lifted his chin.
It was hard to contain a confident smirk as red eyes rolled over your outfit from top to bottom. The sight of a real, live bunny girl in a halter neck, sleeveless tuxedo shirt and black leather miniskirt slaughtered most men on sight. Though conservative compared to usual club attire (read: T&A: on display), delicate ruffles drew the eye to pearl buttons trailing between sculpted cleavage. Chunky Mary Jane platforms elongated your legs until they could stop traffic. Add in a flash of thin garter belts holding old-school silk stockings at mid thigh and the entire collection could be classified as a weapon of mass erection.
“Welcome back, Shigaraki-san! ♡” Voice stuffed into a falsetto, you dipped into a bow while holding out the hot towel. “I’m soooooo excited that you requested me!”
Hair bristling silence was your only reply. He lifted the wipe up using only two fingers. With all the enthusiasm of a robot, he washed his hands one digit at a time before replacing the cloth on the tray.
Ouch. Like smacking your forehead against an iceberg.
"Please step this way." You gestured to one of the open booths like a variety show host.
He shuffled past, paying less attention to you than one would pay to a stray soda can laying on the pavement.
You hoisted the brown, leather bound menu. "Would you like me to recommend something? There’s a super taste cham—"
He rested his head on his palm, long fingers denting his cheek. "Cassis Orange."
An error has occurred. See error log for details. Java.lang.NullPointerException Error Log: Shigaraki.drinkorder cannot be defined 0: He is joking 1: He cares ≤ 0
1= True
“Oh, yummy!” you cooed, flagging the bartender for one of the sweet cocktails. “Most guys won’t order that drink because of some weird macho complex.” You leaned into your palm, mimicking his stance. “It’s nice to drink with a man who is confident in himself.”
Unblinking eyes stared you down. “What do you want to drink?”
Sake bomb.
You tapped your chin. “Um… I think my favorite is a mimosa with Dom Pérignon.” The tinkling laugh you faked grated on your own nerves. You glanced away, curling inwards to fake lady-like shyness. “Champagne goes straight to my head though…”
Liar. In this profession, drinking skills made bank. Champagne was pricey. Pricey drinks lead to better bonuses. A little white lie here, a coy seduction there and while he was chasing bubbles for a chance to paw you up, you could rake in the cash.
“—so I should probably stick with something like a—”
Sake bomb.
No. Stick to the brand. Frufru girly-girls drink frufru girly drinks. No man picks the adorable bunny to have her drink him under the table. Way too emasculating.
“—lemon sour.”
SAKE BOMB.
Shigaraki rolled his eyes. “That’s lame.”
Says the guy drinking the cocktail equivalent of a pink polka dot ribbon?!
You scratched your cheek to cover the wince. “Well, it’s what I can manage. After all, it wouldn't be much fun for you if I got all silly and clingy, right?”
Perfect delivery. If that didn’t make him order you a champagne, the man was a eunuch.
He huffed, scratching his neck. “That does sound gross,” he agreed.
Excuse you?! What kind of man comes to a HOSTESS CLUB and says “ew… I hope hot women DON’T cling to me.” What was he?! Afraid of catching cooties?
You flinched into a fake grin. “I-I know, right? I try very hard to manage myself so I’m fun to be around.”
Ugh. You needed a sake bomb.
Shigaraki’s bored stare cut through you like a knife. You whipped your head around, flashing the waiter the sign for a lemon sour. With a deep breath to soothe your ruffled fur, you turned back to your new arch nemesis.
Game on, crusty boy. Let’s show you what max level charm can do!
Sliding smoothly beside him, you dragged one calf up your thigh until your tight little skirt nearly broke public decency laws. His eyes flicked to your legs. You schooled your expression into a peaceful smile more relaxing than a shiatsu massage. 
“So Shigaraki-san, Mama-san mentioned you have a mentor. What is that like?”
“Pretty much the same as anyone with a mentor I guess.”
“What type of things does he teach you?”
“This and that.”
“It sounds like a well rounded education then.”
“I guess.”
Give a girl something to work with, you tight lipped little snot!
“What’s the favorite thing you learned so far?”
He leaned back in his seat, eyes rolling to the ceiling. The edge of his lip twitched upwards for one heartbeat. “Not to judge people at face value. To always assume they’re hiding something.”
You giggled. “Well, that’s good advice. He sounds very wise.”
“He’s done a lot of different things over the years.”
“How eclectic.”
“Eclectic?”
Crap! You let your bimbo face slip. Dial it back. Dial it back.
“Just something I heard Mama-san say once. She says people who have many interests are eclectic.” You raised one finger and put a bubble-gum pop into your words. “I guess that means they have a lot of energy or something since it sounds like electric!”
Perfect. Now he can “well, actually…” you and feel superior. Men love that. Nice save. 
“You’re lying.”
You cocked your head and stared at him with the bald-faced bemusement of a proper airhead. 
He leaned forward, resting his elbow on the table. Red eyes bored into yours. “You used the word correctly. You knew what it meant.”
When the waiter set the drinks by your elbow, you could have hugged him. You broke off eye contact with Shigaraki, clasped your hands together, and let out an excited squeal. “Oh my gosh this looks so cool! They cut the orange in the shape of a star. How fancy is that?!”
The deadpan stare continued.
You inhaled to puff your chest before carefully placing the drink before him. Steady hands kept the sunset colored gradient exactly as the bartender had prepared it. Then, you gripped your glass, being sure to twist your wrist and show off baby pink nails with tiny glitter bows.
See crusty boy? Nothing here but an empty headed bunny doll made of rack and back. 
“Toasties?” you asked, holding your cup up for the clink.
Never breaking his gaze, your client lifted his drink with his pinky out and tapped your glass as if the sound repulsed him. He stirred the gradient away before sipping his fruity cocktail.
With a long suck, you drained half the lemon-sweet mixer in one go. “Yummy!” you cooed, licking your lips. “How does yours taste, Shigaraki-san?”
“Apparently, not as good as yours.”
You rubbed the back of your neck. “Ah! How embarrassing. It’s been a long time since I met a guy like you. When I get nervous I drink more.”
Peeling lips cracked into an amused sneer. “Oh really?”
“Being with someone like you is so exciting.” You took another sip, glancing at him from under mascara coated lashes. “It makes it hard to hold back.”
He laughed. “...and therefore you’ll be blowing through your drinks pretty quick, wracking up a big tab at my expense, right?”
“Maybe…” you teased coyly, tracing the rim of your glass with one finger. “I mean, it’s your fault for looking so good.”
He snorted. “How do you say that stuff with a straight face?”
“Huh?” You cocked your head the other way and pointed at your underbust. “Straight lace? No, my corset is a criss cross.” You leaned forward, angling your torso for maximum ‘round mound’ effect. “See? It’s all back and forth.”
Shigaraki looked you up and down, the smile dipping back to a frown. “That’s pretty boring though.”
Boring? Oh screw off. You try holding up a one sided conversation, douchebag!
“You don’t like fashion? But you’re dressed so nice!”
“No, what I don’t like is—” he gestured to all of you. “—this. Whatever this is.”
Hair bristling, you sat back in your seat. “I’m sorry. I don’t understand.”
“The lines are pretty good lies but that—” he waved at the whole of you again “—is messing it up.” 
Your throat tensed, leaving a touch of gravel in your voice. “I’m sorry, but you’re talking too complicated for a stupid bunny girl like me. Can you dumb it down so I can understand?”
Now the grin was back but it was… pointy? Yes. That was the best way to describe it. All sharp lines and shadows like some creepy monster hiding in the closet. 
“I want that.”
You blinked at him. “Come again?” 
He leaned forward. “That. You. The real you. Not the act.”
“Act? I don’t understand—” 
He rolled his eyes. “Don’t play stupid. I want the girl from the alley.” 
BANG
In an instant you were on your feet, shaking hands flat against the glossy table top. Manicured nails raked the surface until the glass shrieked under your sweaty palms. The room went silent. Dark shadows obscured your face. With a crack, your head snapped up to reveal a mechanical smile.
“Shigaraki-san, I am having difficulty hearing you over all the noise in this room.” You jabbed a thumb over your shoulder towards the back corner. “If we’re going to continue our little chat I think we should move to a private suite. The champagne room is lovely for cozy conversation. There is a 200,000 yen cover charge and the first bottle of Dom Pérignon is included.”
Curious eyes from all corners of the room stared at the show. Good. Now that he was on blast, he’d have to put up to save face or shut up and clamp down on his prying. Your chest burned with bated breath as you awaited his response.
Shigaraki groped into his pocket. With a flick of his wrist, a black, leather wallet arced through the air. Wide eyed, you caught it with both hands. He slid out of his seat and onto his feet.
“Sure. I’m game for a bonus stage.”
You glanced down at the thick billfold only to see a hefty clump of 10,000 yen banknotes sticking out the top. Your mouth ran dry. Shoving the wallet back into his hands, you gestured to the bouncer. He bustled over, tapping his key card to the electronic lock. As Shigaraki strolled past you into the private room, you glanced back at Mama-san. Her inscrutable expression disappeared behind the fluttering fan with a sharp snap.
Welp, hopefully that meant she wouldn’t fire you for what you were about to do.
Beyond the tufted leather door, the two of you entered a shrine to leisure and pleasure. Mirrored walls reflected soft, glittering light from the teardrop chandelier above. Upon plush, red carpet, overstuffed sofas crafted from butter soft, ivory leather begged for only the most pampered backsides. On the far wall, a massive television complete with jumbo speakers and a full karaoke set waited patiently for any party sized two to twenty. Glowing copper trim on the seating matched the metal frame of the oversized coffee table. Shigaraki flopped down on the low-backed loveseat. The waiter carried your chilled champagne in on a silver platter before quickly bowing out of the room.
As the door clicked shut, Shigaraki draped his arms across the back of the sofa and flashed you a sneer. "Got something to say?"
Sashaying across the floor, you smoothed the sofa and took your place next to your guest. Graceful as a swan, you lifted the bottle and sliced the foil with your thumbnail. A few quick twists freed the cork from its wire prison. With a roll of your wrist, his flute dangled between your digits. 
POP
The speeding cork grazed his ear.
Golden bubbles arced from the bottle. When his glass was nearly full, you twisted the flow to a stop. Leaning forward flashed him a glance at your cleavage. A naughty smile hovered just above it. You set the bottle by his elbow and stroked the stem of your glass like a porn actress.
"Fill me up, Shigaraki-san?" you teased.
He flushed.
So crusty boy liked it a little dirty, huh? File that away for future reference.
Your guest sloshed the expensive liquid into your flute. The bottle clanked onto the table. He stared at you with a raised brow.
With a sweet smile, you hoisted your drink. The delicate tinkle of crystal on crystal accompanied a syrupy salute. "Toasties~!" 
You shot the champagne like a middle aged manager whining about his alimony payment. The glass hit the table with a hard CLANK. 
"All right, listen up," you growled. “First, I’ve spent a long time pretending 'Miss Sugar-Tits' is my personality and outing me in front of the clients is a dick move. If my regulars see me act like this—” you whipped your hand across your face “—my happy tail doesn’t get paid and you better believe I am all kinds of nasty when I can’t afford to eat.”
Shigaraki sipped his drink with a vulgar grin.
You crossed your arms and scowled. “Second, what is your deal?! You’re bored with the girls, you barely drink the booze, and you don’t want to talk. Why drag yourself out here night after night just to be a massive jerk to a bunch of women who you are paying to suck up to you?!” You huffed and turned your cheek. “Heck of a fetish if it is one.”
“I need to level up my coercion.”
You blinked. “Excuse me, what?”
Cracked nails scraped his neck “Sensei told me I needed practice handling people I don’t like. Hostesses are top tier at that skill. It was useful to learn but pretty boring until I saw you whaling on that dumpster. Not something I expected from the fluff-for-brains bunny girl you pretend to be.” He folded his hands in front of his face, resting his pointed chin on top. With a smirk he added: “The part about tearing down society was pretty interesting. Do you call that ‘hare razing’?”
You grabbed a floppy ear and shook it at him. “I’m a rabbit, not a hare, douchebag.”
He leaned back into the chair, arms open wide. “Whatever. The point is that I like that version of you much better than the act.”
You snorted. “Well literally everyone else disagrees with you on that one. Trust me.”
“That’s because society values sappy platitudes over the straight truth.”
“And what truth is that?”
He reached for his glass, knocking back the drink like you had only moments ago. Though he wasn’t a particularly tall man, when rose to his feet and leered down at you, you felt oddly small by comparison. Something about the glowing gaze left you rigid in your seat. Your breath hitched. Scarlet eyes burned as they rolled over your face.
“That the game is buggy and needs a hard reset.”
You shifted in your seat, looking away from his searing stare. Shaking hands balled in your lap. Ringing filled your ears. Voices from the past cried out from painful memories.
“No need to push yourself sweetie. We’re just happy to have you be our team mascot.” 
“Aw… look at you trying so hard. How cute.”
“Don’t act like such a prude. We all know how you got this internship.”
Bile bubbled up your throat. You choked it down. A weary scoff puffed from quivering lips. “Not wrong there,” you muttered.
He blew out a long breath, as if he’d been holding it. “I knew you understood.”
Shaking off a prickling at the back of your neck, you forced a laugh. “But I’m just a bunny girl. I can’t do something as grand as change the world.”
Your guest narrowed his eyes and clicked his tongue. “Chcc. Boring.” He groped into his pocket, pulling out his phone. One glance at the screen and he shoved it into hiding again. “I have to leave anyway.”
Liquid rage poured through your body. “Excuse you!? What did you just call me ‘Mr. couldn’t-carry-a-conversation-if-it-had-a-handle?!’”
He raised his chin and sneered at you. “You’re boring when you’re like that. I’m just calling it like I see it.”
Sharp nails pricked your palms. “Oh!? Is that so?! Then, pray tell, when am I not boring?”
Shigaraki scoffed. “When you’re the real you.” 
Bristling with fury, you stomped your heel. “Fine! You want the real me?! Screw it.” You jabbed a finger at his face. “You. Me. Paid date. Wednesday at 2 PM. 25,000 yen per hour.”
“Two? Isn’t that early?”
“What’s the matter?” A cruel smirk twisted on your lips. “Ain’t got the stamina?”
He scratched his neck. Red heat crawled across his skin.
You reached towards him, palm out. “Give me your phone.”
“Why?”
You rolled your eyes. “So I can put my number in it?”
He dragged out the device and tapped in the unlock code. “This better be worth it,” he declared, dropping it in your palm.
“I’m always worth it.” You zeroed in on his texts, stabbing in your number to the recipient line. There were only two words in the message: “crusty boy”. Pressing “send” so hard it nearly cracked the screen, you shoved the phone back in his chest. “What’s your first name?”
He squinted at you suspiciously. “Why?”
You put your hand on one hip. “You want me to spend the entire date calling you ‘Shigaraki-san’?”
After a long pause he muttered, “Tomura.”
You tapped the name into your contacts. “Got it. “I’ll drop you the details later—” Fluttering lashes accompanied a smile more sadistic than seductive. “—Tomura.”
His breath hitched as the warm flush tipped his ears. 
You hummed, craning your neck. 
His lips curled in a feral snarl. Snatching up the door handle, he nodded to the bottle. “It won’t keep. Finish it yourself.”
“How generous—” you licked your lips “—Tomura.”
As the door slammed shut, you giggled and picked up the champagne. 
Maybe you could trade it in for a sake bomb.
Tumblr media
Chapter Navigation: 1|2|3|4|5 🐇 Ao3 Mirror
Next Chapter Expected: July 15th, 2023
Expected Completion Date: Mid-Aug 2023
Tumblr media
Taglist: @bat-eclecticwolfbouquet-love @shig-a-shig-ah @castershellwrites @smilinghowever @krystalwithakay @iris-goddess @ss-syche @mortallysparklyfun @meameows @magnificentclodpiezonk @betterfettered @utena-akashiya @ventdavi154 @st4rrust @imaginedheroine @the-lady-writes-what @shiggysimp69 @toughbook @naughteehee @tampon-earrings @alotofpussy @derobsawiempleh @jadke-bean @saintvinny @cookiecrumblemoonster @curlyangelsblog @hurthermore @prehistoricfreak @insomniamoth22 @celesterdzc18 @sasuqahs @gloomysel @ohnoitsthatonekid @tracksuit-goth @cinnatwisted @anteabelle @unlikelytrio @meru-the-succubus @diawh0re @linastired @mikeyrights @headmastermephistopheles @omisdolly @nochedeodio @starstruckvega @laurelyna @shiggysimp69 @certainlygay @rxyno @ventdavi154 @patch-workk @paranormal-dude @grenosethino @fancylardbucket @utena-akashiya @toughbook @oklolnoty @zombiegr1 @shyyykat @ushi-uri @flamme-meuf2-shiggy @vampirec0w @perpetual-fangirl900 @nekolover93 @saskenma @betterfettered @thread-knight @st4rrust @sparrowwritesforop @aphorditeslust @pindelighted @tadokorochann @usaggii
@beeandtrees @justineangelrococo @aaangeliii
177 notes · View notes
warningsine · 1 year ago
Text
All right, since I bombarded a poor mutual yesterday...
Privacy is not security and security is not privacy. These terms are not interchangeable, but they are intrinsically linked.
While we're at this, anonymity =/= security either. For example, Tor provides the former, but not necessarily the latter, hence using Https is always essential.
It is impossible to have privacy without security, but you can have security without privacy.
A case in point is administrators being able to view any data they want due to their full-access rights to a system. That being said, there are ethics and policies that usually prevent such behavior.
Some general tips:
Operating System: Switch to Linux. Ubuntu and Linux Mint are widely used for a reason. Fedora too. And don't worry! You can keep your current operating system, apps and data. If you're on a Mac computer, you can easily partition your hard drive or SSD by using Disk Utility. If you're on Windows, you can follow this guide.
You want to go a step further? Go with Whonix or Tails. They're Linux distributions as well, but they're both aiming for security, not beauty so the interface might not be ideal for everyone. Many political activists and journalists use them.
You want anonymity? Then you need to familiarize yourself with Tor. Also, Tor and HTTPS and Tor’s weaknesses. When you're using it, don't log in to sites like Google, Facebook, Twitter etc. and make sure to stay away from Java and Javascript, because those things make you traceable.
Alternatives for dealing with censorship? i2p and Freenet.
Is ^ too much? Welp. All right. Let's see. The first step is to degoogle.
Switch to a user-friendly browser like Firefox (or better yet LibreWolf), Brave or Vivaldi. There are plenty of hardened browsers, but they can be overwhelming for a beginner.
Get an ad blocker like Ublock Origin.
Search Engine? StartPage or Duckduckgo. SearXNG too. Like I said degoogle.
Get a PGP encrypted e-mail. Check Protonmail out.
There's also Tutamail that doesn't cover PGP, but uses hybrid encryption that avoids some of the cons of PGP.
Skiff mail is also a decent option.
Use an e-mail aliasing service such as SimpleLogin or AnonAddy.
Check OpenPGP out. Claws Mail is a good e-mail client for Windows and Linux, Thunderbird for Mac OS.
Gpg4win is free and easy to use for anyone that wants to encrypt/decrypt e-mails.
Instead of Whatsapp, Facebook messenger, Telegram etc. use Signal for your encrypted insant messaging, voice and video calls.
Get a metadata cleaner.
Get a firewall like Opensnitch, Portmaster or Netguard which can block Internet for trackers.
Alternatively, go with a private DNS that blocks these trackers. NextDNS is a good paid service. Rethink a good free option.
Replace as many of your applications as you can with FOSS (free and open source) ones. Alternativeto can help you.
Always have automatic updates on. They are annoying af, I know, but they are necessary.
Keep your distance from outdated software.
Always have two-factor authentication (2FA) enabled.
Do not use your administrator account for casual stuff. If you're on Linux, you probably know you can be sudo, but not root.
On Linux distributions use AppArmor, but stay away from random antivirus scanners. Other distributions default to SELinux, which is less suited to a beginner.
Never repeat your passwords. If you can't remember them all, use a password manager like KeePass.
Encrypt your drive.
Honestly, VPNs have their uses and ProtonVPN, Mullvad and Windscribe are decent, but eh. If you don't trust your ISP, why would you trust the VPN provider that claims they don't log you when you can't verify such a thing?
57 notes · View notes
mimicschest · 5 months ago
Text
I currently have my latest blogpost for my website displayed on my front page. If you click on the title, it will take you to the post. I essentially grab the Title, which is a class of h1, and the article, using javascript, and then replace it. However, right now, this is done by manually replacing the href of the javascript. This works; I just create a post, copy the link, and paste it into the script in my home page.
Problem; I am already maintaining my rss feed manually. Why should I do *this* manually? I kind of want to not do either manually.
Solution: Javascript can be used to parse a xml doc. This includes rss feeds. I can simply make a script that, when you load up the webpage, it will request the most recent version of the .xml file associated with my file, then find the one with the most recent pubDate, it will then grab the link from that, and use my existing script to display it on my homepage.
As for updating my rss feed? I may need to create a php script for that. I just need two forms, and a submit button. One will take a link, and the other would be the password. So, I create a new blogpost, upload it, and then copy the link into the form. The password field will be used to create a cryptographic hash, and if it matches the provided one, then it will create a timestamp, and add the item, complete with links, to the html file. I could add in a hidden description to the blogpost, and the script can rip the description from there. Its pretty simple, and I wouldn't trust this authentication process... except that it is extremely limited in scope. All it does is accept a link already part of my blog, and updates an xml document - one I regularly back-up.
I also want to make a script that would get the previous and next posts on the blog, based on the info already in the xml document, rather than manually updating the existing blogposts. It doesn't take long, but it would be one less thing I have to worry about. I just have to match the current link to one in the xml file, get the timestamp, and find the item with the previous and next timestamp, then inject the links into the previous/next buttons. I can use a span element that will be updated to show up once a new document is found by the script.
If I was making one that actually allowed you to write a blogpost - complete with html - then I would want better security - like some form of 2 factor authentication. My authentication script would work. I would also want it limited to posting based on the time (like 1 post per x minutes). I may actually do that later. It would be nice to just go to my site, use my passkey+password authenticator, and then just post to my blog. It would have a form for the title, short description, and the main post. Then, it takes that info, and essentially pastes it into a provided template.
I could also make a similar system for the site-updates and little blurb on the top. Currently, I just edit the html for that. But I could also make an xml document, and just have the posts contained in items like an rss feed, then have the javascript read from there. Use a php script to add new entries to it. They could even be in the same file, just have to use two different elements.
Finally, on the main page, you can click on the title of the blog post to link there. This is done via script, so there is no mouseover indication that you can do this. I want to make the title element change a bit when you mouseover it - perhaps make it a little paler on mouseover?
9 notes · View notes
keirosims · 1 year ago
Text
Okay the theme just fixed itself ig? lmao
Was gonna edit a few of my character pages but the theme's kinda broken and the icons don't show on any of the pages I've already made?? 💀
Don't do this to me man I worked on these pages for ages
9 notes · View notes