Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-05-19 23:15:02, last edited by SirJosh3917 (2018-05-19 23:15:45)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

condensing viewtopic.php

.../viewtopic.php?pid=1234#p1234

i'd be neat if you could just have to do only

.../viewtopic.php?pid=1234

and let Javascript work the rest of it, e.g. add this script:

<script>location.hash = "p1234";</script>

to the end of the page
please diff this doesn't take much effort and makes for a cleaner URL

Offline

#2 2018-05-20 20:56:01

Ratburntro44
Member
Joined: 1970-01-01
Posts: 1,382
Website

Re: condensing viewtopic.php

literally why who cares

Offline

Wooted by:

#3 2018-05-20 21:23:22

Different55
Forum Admin
Joined: 2015-02-07
Posts: 16,572

Re: condensing viewtopic.php

As discussed in Discord, changing the hash with javascript adds it to the URL anyway, no cleanliness is achieved with this method except hidden in the markup where nobody will see it.


"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto

Offline

Wooted by:
Different551526847802706960

Board footer

Powered by FluxBB

[ Started around 1711675397.6727 - Generated in 0.038 seconds, 10 queries executed - Memory usage: 1.37 MiB (Peak: 1.47 MiB) ]